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.001856/0.001856, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002188/0.002188, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1413/0.1413, allocations: 17.45 MB / 277 MB, free: 11.6 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 3.046e-06/3.046e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.157e-05/4.461e-05, allocations: 8.922 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01792/0.01796, allocations: 10.18 MB / 363 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0481/0.06606, allocations: 33.02 MB / 396 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.06794, allocations: 31.75 kB / 396.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.07016, allocations: 0.6356 MB / 396.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00853/0.07869, allocations: 2.707 MB / 399.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.09157, allocations: 4.499 MB / 403.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005515/0.09709, allocations: 3.112 MB / 407 MB, free: 3.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.09977, allocations: 1.422 MB / 408.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.1033, allocations: 2.051 MB / 410.5 MB, free: 264 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1513/0.2546, allocations: 1.339 MB / 411.8 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008128/0.2554, allocations: 263 kB / 412.1 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.2674, allocations: 3.454 MB / 415.5 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.2687, allocations: 0.621 MB / 416.1 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.2708, allocations: 0.9752 MB / 417.1 MB, free: 22.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.2862, allocations: 7.272 MB / 424.4 MB, free: 22.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2863, allocations: 0 / 424.4 MB, free: 22.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2863, allocations: 3.688 kB / 424.4 MB, free: 22.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.2864, allocations: 0.5938 kB / 424.4 MB, free: 22.31 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.0067/0.2931, allocations: 3.465 MB / 427.9 MB, free: 20.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2931, allocations: 14.25 kB / 427.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.296, allocations: 0.9694 MB / 428.8 MB, free: 20.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2982, allocations: 1.101 MB / 429.9 MB, free: 20.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2983, allocations: 164.5 kB / 430.1 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.2986, allocations: 215.2 kB / 430.3 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.3027, allocations: 2.592 MB / 432.9 MB, free: 19.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.3027, allocations: 192 / 432.9 MB, free: 19.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.303, allocations: 84.06 kB / 433 MB, free: 19.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.303, allocations: 53.66 kB / 433 MB, free: 19.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.3078, allocations: 3.253 MB / 436.3 MB, free: 19.43 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.01249/0.3203, allocations: 7.372 MB / 443.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004964/0.3252, allocations: 3.222 MB / 446.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.3265, allocations: 0.8947 MB / 447.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.3368, allocations: 5.076 MB / 452.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3368, allocations: 50.7 kB / 452.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006253/0.3374, allocations: 174 kB / 453.1 MB, free: 6.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.017e-06/0.3374, allocations: 0 / 453.1 MB, free: 6.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.02663/0.3641, allocations: 6.23 MB / 459.3 MB, free: 308 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3641, allocations: 77.41 kB / 459.4 MB, free: 216 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.3664, allocations: 1.581 MB / 461 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.3667, allocations: 57.69 kB / 461 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.3679, allocations: 1.191 MB / 462.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009021/0.3688, allocations: 0.648 MB / 462.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009022/0.3697, allocations: 0.5265 MB / 463.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3699, allocations: 476.8 kB / 463.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3713, allocations: 0.6569 MB / 464.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.3739, allocations: 1.837 MB / 466.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/0.3784, allocations: 2.721 MB / 469.1 MB, free: 5.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/0.3784, allocations: 15 kB / 469.1 MB, free: 5.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00926/0.3877, allocations: 2.989 MB / 472.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.3877, allocations: 19.94 kB / 472.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.813e-05/0.3878, allocations: 28 kB / 472.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006529/0.3943, allocations: 0.752 MB / 472.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.3968, allocations: 0.5912 MB / 473.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.4107, allocations: 9.614 MB / 483.1 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.4131, allocations: 83.98 kB / 483.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.4135, allocations: 140 kB / 483.3 MB, free: 7.125 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.001037/0.4145, allocations: 462.8 kB / 483.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.4151, allocations: 218.9 kB / 484 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/0.4234, allocations: 2.434 MB / 486.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.4234, allocations: 20 kB / 486.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4234, allocations: 0 / 486.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/0.4234, allocations: 11.91 kB / 486.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.427, allocations: 1.664 MB / 488.1 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.427, allocations: 4 kB / 488.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.4284, allocations: 337.1 kB / 488.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006564/0.4349, allocations: 0.7349 MB / 489.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/0.4352, allocations: 55.97 kB / 489.2 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.4482, allocations: 9.416 MB / 498.6 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4482, allocations: 8.031 kB / 498.6 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.4609, allocations: 3.185 MB / 0.4901 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/0.4617, allocations: 162.8 kB / 0.4902 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.4621, allocations: 36 kB / 0.4903 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.4635, allocations: 39.98 kB / 0.4903 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/0.464, allocations: 157 kB / 0.4904 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.4642, allocations: 67.97 kB / 0.4905 GB, free: 3.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.4661, allocations: 0.9077 MB / 0.4914 GB, free: 2.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4661, allocations: 0 / 0.4914 GB, free: 2.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006449/0.4725, allocations: 1.379 MB / 0.4927 GB, free: 1.348 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.005102/0.4776, allocations: 1.605 MB / 0.4943 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00679/0.4844, allocations: 2.643 MB / 0.4969 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4844, allocations: 0 / 0.4969 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.488, allocations: 1.603 MB / 0.4985 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.4909, allocations: 402.2 kB / 0.4988 GB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/0.5007, allocations: 3.619 MB / 0.5024 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.502, allocations: 0.8021 MB / 0.5032 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002404/0.5044, allocations: 431.7 kB / 0.5036 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/0.5053, allocations: 283.8 kB / 0.5038 GB, free: 6.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5053, allocations: 0 / 0.5038 GB, free: 6.07 MB / 394.7 MB Notification: Performance of Templates: time 0.0927/0.598, allocations: 47.46 MB / 0.5502 GB, free: 7.102 MB / 442.7 MB " [Timeout remaining time 659] 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: 7.250627405010164]