Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 173 kB / 23.49 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08683/0.08683, allocations: 17.47 MB / 277.7 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 353.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.463e-05, allocations: 10.19 kB / 353.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01033/0.01035, allocations: 10.23 MB / 363.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03258/0.04293, allocations: 33.02 MB / 396.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.04419, allocations: 35.75 kB / 396.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.04561, allocations: 0.6317 MB / 397.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.05059, allocations: 2.711 MB / 400.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008535/0.05912, allocations: 4.499 MB / 404.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.06172, allocations: 3.107 MB / 407.8 MB, free: 3.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.06305, allocations: 1.43 MB / 409.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.06505, allocations: 2.055 MB / 411.3 MB, free: 204 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1304/0.1954, allocations: 1.334 MB / 412.6 MB, free: 22.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009013/0.1963, allocations: 265 kB / 412.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006986/0.2033, allocations: 3.454 MB / 416.3 MB, free: 22.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.2038, allocations: 0.6262 MB / 416.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.2051, allocations: 0.9684 MB / 417.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.212, allocations: 6.273 MB / 424.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.212, allocations: 2.719 kB / 424.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.212, allocations: 0 / 424.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.2121, allocations: 0 / 424.2 MB, free: 22.12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.002826/0.2149, allocations: 3.336 MB / 427.5 MB, free: 20.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2149, allocations: 10.09 kB / 427.5 MB, free: 20.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.2165, allocations: 0.9719 MB / 428.5 MB, free: 20.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.2175, allocations: 1.102 MB / 429.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.2176, allocations: 159.6 kB / 429.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.2178, allocations: 223.7 kB / 430 MB, free: 19.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.2199, allocations: 2.043 MB / 432 MB, free: 19.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.2199, allocations: 3.375 kB / 432 MB, free: 19.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.2201, allocations: 87.95 kB / 432.1 MB, free: 19.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.2201, allocations: 56.22 kB / 432.2 MB, free: 19.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.2225, allocations: 2.253 MB / 434.4 MB, free: 19.59 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.2288, allocations: 6.273 MB / 440.7 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.233, allocations: 3.584 MB / 444.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008801/0.2339, allocations: 0.6447 MB / 444.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/0.2404, allocations: 4.647 MB / 449.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2404, allocations: 51.95 kB / 449.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003403/0.2408, allocations: 182.1 kB / 449.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 3.216e-06/0.2408, allocations: 0 / 449.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01555/0.2563, allocations: 5.381 MB / 455.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2563, allocations: 69.41 kB / 455.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2574, allocations: 1.307 MB / 456.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.2575, allocations: 57.7 kB / 456.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.2579, allocations: 1.139 MB / 457.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.2582, allocations: 0.6092 MB / 458.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.2587, allocations: 483.2 kB / 458.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.2587, allocations: 480.7 kB / 459.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.2594, allocations: 436.7 kB / 459.7 MB, free: 456 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.2608, allocations: 1.554 MB / 461.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.2632, allocations: 2.181 MB / 463.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.2632, allocations: 8 kB / 463.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005535/0.2688, allocations: 2.487 MB / 466 MB, free: 9.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.2688, allocations: 16 kB / 466 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.2688, allocations: 28 kB / 466 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.2723, allocations: 0.6775 MB / 466.7 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.2737, allocations: 0.5881 MB / 467.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.2809, allocations: 8.723 MB / 476 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/0.2818, allocations: 83.98 kB / 476.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.282, allocations: 140 kB / 476.2 MB, free: 14.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004447/0.2825, allocations: 317.5 kB / 476.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.2828, allocations: 218.9 kB / 476.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.2876, allocations: 2.046 MB / 478.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.2877, allocations: 20 kB / 478.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2877, allocations: 3.984 kB / 478.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.2877, allocations: 11.91 kB / 478.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.2896, allocations: 1.31 MB / 480.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.2896, allocations: 4 kB / 480.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.2906, allocations: 345.6 kB / 480.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/0.2933, allocations: 0.6421 MB / 481.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.2934, allocations: 63.97 kB / 481.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.2988, allocations: 8.546 MB / 489.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2988, allocations: 4.188 kB / 489.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.3028, allocations: 2.438 MB / 492.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.303, allocations: 162.8 kB / 492.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.3031, allocations: 40 kB / 492.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.3036, allocations: 39.98 kB / 492.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.3038, allocations: 157.2 kB / 492.6 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.3039, allocations: 67.97 kB / 492.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006305/0.3045, allocations: 0.7553 MB / 493.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3045, allocations: 0 / 493.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002944/0.3074, allocations: 1.379 MB / 494.8 MB, free: 11.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.3093, allocations: 1.6 MB / 496.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3116, allocations: 2.179 MB / 498.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3116, allocations: 4 kB / 498.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3127, allocations: 1.405 MB / 499.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.3136, allocations: 396.1 kB / 0.4886 GB, free: 6.406 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.3182, allocations: 3.364 MB / 0.4919 GB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3185, allocations: 337.5 kB / 0.4922 GB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009591/0.3195, allocations: 427.7 kB / 0.4926 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.3199, allocations: 287.8 kB / 0.4929 GB, free: 1.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3199, allocations: 0 / 0.4929 GB, free: 1.926 MB / 378.7 MB Notification: Performance of Templates: time 0.04613/0.366, allocations: 47.46 MB / 0.5392 GB, free: 2.953 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4134484368842095]