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.001006/0.001006, allocations: 92.22 kB / 19.65 MB, free: 276 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.001151/0.001151, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9504/0.9504, allocations: 177.1 MB / 203.4 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.1234/0.1234, allocations: 17.46 MB / 277.4 MB, free: 11.55 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.895e-06/2.895e-06, allocations: 3.938 kB / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.757e-05, allocations: 8.641 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008526/0.008564, allocations: 10.21 MB / 363.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.03291, allocations: 30.95 MB / 394.7 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.03427, allocations: 35.69 kB / 394.7 MB, free: 500 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.0359, allocations: 0.6006 MB / 395.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.04178, allocations: 2.719 MB / 398.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009327/0.05111, allocations: 4.115 MB / 402.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.05428, allocations: 3.122 MB / 405.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.05576, allocations: 1.414 MB / 406.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.05793, allocations: 2.055 MB / 408.8 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.05936, allocations: 1.333 MB / 410.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.0597, allocations: 264 kB / 410.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1511/0.2108, allocations: 3.216 MB / 413.6 MB, free: 24.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.2114, allocations: 0.6167 MB / 414.2 MB, free: 24.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.2131, allocations: 0.976 MB / 415.2 MB, free: 24.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009736/0.2229, allocations: 5.96 MB / 421.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2229, allocations: 0 / 421.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2229, allocations: 2.734 kB / 421.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.2229, allocations: 0 / 421.1 MB, free: 23.96 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.004372/0.2273, allocations: 3.274 MB / 424.4 MB, free: 22.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2274, allocations: 10.44 kB / 424.4 MB, free: 22.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.2292, allocations: 0.9855 MB / 425.4 MB, free: 22.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.2304, allocations: 1.096 MB / 426.5 MB, free: 21.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.2305, allocations: 162.2 kB / 426.7 MB, free: 21.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.2308, allocations: 218.3 kB / 426.9 MB, free: 21.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.233, allocations: 2.046 MB / 428.9 MB, free: 21.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.2331, allocations: 3.844 kB / 428.9 MB, free: 21.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.2332, allocations: 82.94 kB / 429 MB, free: 21.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.2332, allocations: 56.06 kB / 429.1 MB, free: 21.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.2357, allocations: 2.261 MB / 431.3 MB, free: 21.46 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.006767/0.2424, allocations: 6.273 MB / 437.6 MB, free: 19.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.2457, allocations: 3.57 MB / 441.2 MB, free: 18.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.2464, allocations: 0.6505 MB / 441.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005606/0.252, allocations: 4.642 MB / 446.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.252, allocations: 54.7 kB / 446.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002688/0.2523, allocations: 166.8 kB / 446.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.258e-06/0.2523, allocations: 4 kB / 446.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01192/0.2642, allocations: 5.384 MB / 452.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2642, allocations: 73.41 kB / 452.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.2651, allocations: 1.311 MB / 453.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.2652, allocations: 50.36 kB / 453.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.2655, allocations: 1.136 MB / 454.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2658, allocations: 0.6127 MB / 455.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.2662, allocations: 479.2 kB / 455.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.2662, allocations: 484.8 kB / 456.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.2667, allocations: 432.7 kB / 456.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.2676, allocations: 1.557 MB / 458.2 MB, free: 2.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2691, allocations: 2.182 MB / 460.3 MB, free: 88 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.2691, allocations: 8 kB / 460.4 MB, free: 80 kB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004008/0.2731, allocations: 2.478 MB / 462.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2731, allocations: 20.03 kB / 462.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.2732, allocations: 28 kB / 462.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.2758, allocations: 0.6699 MB / 463.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2768, allocations: 0.5992 MB / 464.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.2839, allocations: 8.73 MB / 472.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.285, allocations: 80 kB / 473 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.2852, allocations: 140 kB / 473.1 MB, free: 3.086 MB / 346.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.0005373/0.2857, allocations: 314.6 kB / 473.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.286, allocations: 222.9 kB / 473.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.2908, allocations: 2.04 MB / 475.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.2908, allocations: 20.08 kB / 475.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2908, allocations: 4.766 kB / 475.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.2908, allocations: 15.91 kB / 475.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.2928, allocations: 1.322 MB / 477 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.2928, allocations: 0.5469 kB / 477 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/0.2937, allocations: 353.7 kB / 477.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.297, allocations: 0.6421 MB / 478 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.2972, allocations: 59.97 kB / 478.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.3041, allocations: 8.537 MB / 486.6 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3041, allocations: 0.6562 kB / 486.6 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.3093, allocations: 2.444 MB / 489 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.3095, allocations: 155 kB / 489.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3097, allocations: 35.66 kB / 489.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.3103, allocations: 47.98 kB / 489.3 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.3105, allocations: 153.7 kB / 489.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.3106, allocations: 72.62 kB / 489.5 MB, free: 2.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007938/0.3114, allocations: 0.7475 MB / 490.2 MB, free: 1.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 4 kB / 490.2 MB, free: 1.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003674/0.3151, allocations: 1.317 MB / 491.6 MB, free: 116 kB / 362.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.002372/0.3175, allocations: 1.48 MB / 493 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.3206, allocations: 2.182 MB / 495.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3206, allocations: 4.375 kB / 495.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.3219, allocations: 1.397 MB / 496.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3232, allocations: 404.7 kB / 497 MB, free: 10.84 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.00534/0.3286, allocations: 3.368 MB / 0.4887 GB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3289, allocations: 341.5 kB / 0.489 GB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.3301, allocations: 425.4 kB / 0.4894 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/0.3306, allocations: 291.8 kB / 0.4897 GB, free: 6.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3306, allocations: 0 / 0.4897 GB, free: 6.355 MB / 378.7 MB Notification: Performance of Templates: time 0.05372/0.3843, allocations: 51.48 MB / 0.54 GB, free: 3.41 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.383948806207627]