Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1124/0.1124, allocations: 15.54 MB / 320 MB, free: 13.2 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 68.03 kB / 448.2 MB, free: 46.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1351, allocations: 56.55 MB / 0.493 GB, free: 18.86 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.009399/0.1445, allocations: 10.43 MB / 0.5031 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03862/0.1831, allocations: 33.05 MB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.1863, allocations: 23.88 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.1895, allocations: 0.7057 MB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.2014, allocations: 2.638 MB / 0.5387 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.2173, allocations: 4.31 MB / 0.5429 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.2236, allocations: 3.012 MB / 0.5459 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.2265, allocations: 1.37 MB / 0.5472 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.2295, allocations: 1.453 MB / 0.5486 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.2331, allocations: 1.639 MB / 0.5502 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006762/0.2337, allocations: 264 kB / 0.5505 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.249, allocations: 3.658 MB / 0.554 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.2504, allocations: 0.6036 MB / 0.5546 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.2528, allocations: 1.334 MB / 0.5559 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02377/0.2766, allocations: 6.642 MB / 0.5624 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.2766, allocations: 4 kB / 0.5624 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2766, allocations: 4 kB / 0.5624 GB, free: 13.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.267e-05/0.2767, allocations: 0 / 0.5624 GB, free: 13.63 MB / 430.1 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.007817/0.2845, allocations: 3.314 MB / 0.5657 GB, free: 10.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.2846, allocations: 12.03 kB / 0.5657 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.2872, allocations: 0.5726 MB / 0.5662 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.2895, allocations: 1.143 MB / 0.5673 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2896, allocations: 160.6 kB / 0.5675 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.29, allocations: 220.3 kB / 0.5677 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.2949, allocations: 2.794 MB / 0.5704 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.2949, allocations: 4 kB / 0.5704 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.2951, allocations: 84 kB / 0.5705 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/0.2952, allocations: 52 kB / 0.5706 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.3015, allocations: 3.792 MB / 0.5743 GB, free: 1.273 MB / 430.1 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.01569/0.3172, allocations: 8.332 MB / 0.5824 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006205/0.3234, allocations: 3.831 MB / 0.5862 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.325, allocations: 0.9075 MB / 0.587 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/0.3398, allocations: 9.236 MB / 0.5961 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3399, allocations: 47.88 kB / 0.5961 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007937/0.3407, allocations: 186.7 kB / 0.5963 GB, free: 9.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.066e-06/0.3407, allocations: 0 / 0.5963 GB, free: 9.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03138/0.372, allocations: 6.415 MB / 0.6025 GB, free: 2.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.3721, allocations: 73.34 kB / 0.6026 GB, free: 2.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.3747, allocations: 1.668 MB / 0.6042 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.3751, allocations: 53.7 kB / 0.6043 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3685/0.7435, allocations: 1.073 MB / 0.6053 GB, free: 99.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009409/0.7445, allocations: 0.6166 MB / 0.6059 GB, free: 99.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/0.7453, allocations: 476.5 kB / 0.6064 GB, free: 99.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.7454, allocations: 302.3 kB / 0.6067 GB, free: 98.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.7467, allocations: 0.7951 MB / 0.6075 GB, free: 98.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.749, allocations: 1.596 MB / 0.609 GB, free: 98.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.753, allocations: 2.415 MB / 0.6114 GB, free: 97.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/0.753, allocations: 7.812 kB / 0.6114 GB, free: 97.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009996/0.763, allocations: 3.13 MB / 0.6144 GB, free: 95.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-05/0.7631, allocations: 15.84 kB / 0.6145 GB, free: 95.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.7632, allocations: 26.12 kB / 0.6145 GB, free: 95.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/0.7676, allocations: 485.2 kB / 0.615 GB, free: 95.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.7703, allocations: 0.5903 MB / 0.6155 GB, free: 95.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.7806, allocations: 7.706 MB / 0.6231 GB, free: 88.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.783, allocations: 85.28 kB / 0.6231 GB, free: 88.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/0.7835, allocations: 142.2 kB / 0.6233 GB, free: 88.84 MB / 462.1 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.001053/0.7845, allocations: 422.2 kB / 0.6237 GB, free: 88.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.785, allocations: 178.3 kB / 0.6238 GB, free: 88.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007486/0.7925, allocations: 2.391 MB / 0.6262 GB, free: 87.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.7925, allocations: 23.5 kB / 0.6262 GB, free: 87.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7925, allocations: 0.8125 kB / 0.6262 GB, free: 87.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.7926, allocations: 9.531 kB / 0.6262 GB, free: 87.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.7956, allocations: 1.86 MB / 0.628 GB, free: 86.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7956, allocations: 2.766 kB / 0.628 GB, free: 86.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.7968, allocations: 347 kB / 0.6284 GB, free: 86.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/0.8005, allocations: 456.3 kB / 0.6288 GB, free: 86.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/0.8007, allocations: 66.73 kB / 0.6289 GB, free: 86.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.8111, allocations: 7.535 MB / 0.6362 GB, free: 79.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8111, allocations: 0 / 0.6362 GB, free: 79.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.8214, allocations: 3.003 MB / 0.6392 GB, free: 78.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/0.8222, allocations: 246.8 kB / 0.6394 GB, free: 78.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.8225, allocations: 39.56 kB / 0.6394 GB, free: 78.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.8238, allocations: 43.39 kB / 0.6395 GB, free: 78.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.8243, allocations: 148.5 kB / 0.6396 GB, free: 78.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.8244, allocations: 68.84 kB / 0.6397 GB, free: 78.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001714/0.8262, allocations: 1.135 MB / 0.6408 GB, free: 77.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8262, allocations: 0 / 0.6408 GB, free: 77.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005966/0.8321, allocations: 1.386 MB / 0.6421 GB, free: 77.23 MB / 462.1 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.004679/0.8368, allocations: 1.507 MB / 0.6436 GB, free: 76.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005767/0.8426, allocations: 2.392 MB / 0.6459 GB, free: 73.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.8426, allocations: 0.875 kB / 0.6459 GB, free: 73.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.8443, allocations: 1.275 MB / 0.6472 GB, free: 72.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.8461, allocations: 369.8 kB / 0.6475 GB, free: 72.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.8515, allocations: 3.619 MB / 0.6511 GB, free: 68.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.8522, allocations: 1.386 MB / 0.6524 GB, free: 67.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.8537, allocations: 432.1 kB / 0.6528 GB, free: 66.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.8542, allocations: 302.5 kB / 0.6531 GB, free: 66.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.8542, allocations: 0 / 0.6531 GB, free: 66.38 MB / 462.1 MB Notification: Performance of Templates: time 0.05738/0.9116, allocations: 47.47 MB / 0.6995 GB, free: 19.08 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.637821477837861]