Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007416/0.0007416, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008722/0.0008722, allocations: 170.2 kB / 23.18 MB, free: 1.383 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.9472/0.9472, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08359/0.08359, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 67.66 kB / 412.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1312, allocations: 59.84 MB / 472.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008041/0.1393, allocations: 9.079 MB / 481.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.1626, allocations: 28.98 MB / 0.4987 GB, free: 7.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.1645, allocations: 39.69 kB / 0.4988 GB, free: 7.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1661, allocations: 0.6317 MB / 0.4994 GB, free: 7.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.1724, allocations: 2.619 MB / 0.5019 GB, free: 4.379 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.1824, allocations: 4.376 MB / 0.5062 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.1858, allocations: 3.03 MB / 0.5092 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.1871, allocations: 1.343 MB / 0.5105 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.1887, allocations: 2.128 MB / 0.5126 GB, free: 9.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.1903, allocations: 1.459 MB / 0.514 GB, free: 7.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.1906, allocations: 264 kB / 0.5142 GB, free: 7.688 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008741/0.1994, allocations: 3.439 MB / 0.5176 GB, free: 4.242 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.1998, allocations: 0.6115 MB / 0.5182 GB, free: 3.629 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009035/0.2007, allocations: 1.124 MB / 0.5193 GB, free: 2.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.2114, allocations: 6.856 MB / 0.526 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.2114, allocations: 4 kB / 0.526 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2114, allocations: 0 / 0.526 GB, free: 11.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.2115, allocations: 0 / 0.526 GB, free: 11.61 MB / 442.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.003794/0.2153, allocations: 3.219 MB / 0.5291 GB, free: 8.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.2153, allocations: 12.03 kB / 0.5292 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.2167, allocations: 0.5765 MB / 0.5297 GB, free: 7.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.218, allocations: 1.077 MB / 0.5308 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.2181, allocations: 160.6 kB / 0.5309 GB, free: 6.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.2183, allocations: 216.3 kB / 0.5311 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.2214, allocations: 2.818 MB / 0.5339 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.2215, allocations: 0 / 0.5339 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.2216, allocations: 88 kB / 0.534 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.2216, allocations: 56 kB / 0.534 GB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.2253, allocations: 3.795 MB / 0.5377 GB, free: 15.41 MB / 458.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.008107/0.2334, allocations: 6.719 MB / 0.5443 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.237, allocations: 3.262 MB / 0.5475 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.2382, allocations: 0.9075 MB / 0.5484 GB, free: 4.406 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006462/0.2447, allocations: 4.676 MB / 0.5529 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.2447, allocations: 47.88 kB / 0.553 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002914/0.245, allocations: 178.7 kB / 0.5531 GB, free: 15.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=138): time 3.306e-06/0.245, allocations: 0 / 0.5531 GB, free: 15.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=170): time 0.0148/0.2598, allocations: 6.185 MB / 0.5592 GB, free: 9.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2599, allocations: 73.41 kB / 0.5592 GB, free: 9.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.2613, allocations: 1.638 MB / 0.5608 GB, free: 7.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.2614, allocations: 49.7 kB / 0.5609 GB, free: 7.449 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.2621, allocations: 1.089 MB / 0.562 GB, free: 6.348 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.2625, allocations: 0.6159 MB / 0.5626 GB, free: 5.727 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.2629, allocations: 488.8 kB / 0.563 GB, free: 5.242 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.263, allocations: 301.1 kB / 0.5633 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008992/0.2639, allocations: 0.813 MB / 0.5641 GB, free: 4.129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.2652, allocations: 1.604 MB / 0.5657 GB, free: 2.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.2674, allocations: 2.428 MB / 0.568 GB, free: 15.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.2674, allocations: 4 kB / 0.568 GB, free: 15.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004769/0.2722, allocations: 3.144 MB / 0.5711 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.2722, allocations: 16 kB / 0.5711 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.2722, allocations: 24 kB / 0.5712 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.274, allocations: 495 kB / 0.5716 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.275, allocations: 0.5889 MB / 0.5722 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/0.2817, allocations: 7.159 MB / 0.5792 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.2826, allocations: 79.98 kB / 0.5793 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.2828, allocations: 140 kB / 0.5794 GB, free: 3.305 MB / 490.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.0006244/0.2834, allocations: 421.6 kB / 0.5798 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.2836, allocations: 174.8 kB / 0.58 GB, free: 2.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.2876, allocations: 2.382 MB / 0.5823 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.2876, allocations: 20 kB / 0.5823 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2876, allocations: 0 / 0.5823 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.2876, allocations: 7.969 kB / 0.5823 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2635/0.5511, allocations: 1.365 MB / 0.5837 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.5511, allocations: 6.031 kB / 0.5837 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5522, allocations: 343.6 kB / 0.584 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.5543, allocations: 462.1 kB / 0.5844 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.5545, allocations: 61.52 kB / 0.5845 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.5606, allocations: 6.961 MB / 0.5913 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5606, allocations: 7.781 kB / 0.5913 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.5667, allocations: 2.987 MB / 0.5942 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.5673, allocations: 159.2 kB / 0.5944 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.5674, allocations: 41.81 kB / 0.5944 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.5679, allocations: 39.16 kB / 0.5944 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.5683, allocations: 157.8 kB / 0.5946 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.5684, allocations: 74.31 kB / 0.5947 GB, free: 101.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.5697, allocations: 1.08 MB / 0.5957 GB, free: 100.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5697, allocations: 0 / 0.5957 GB, free: 100.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003455/0.5732, allocations: 1.375 MB / 0.5971 GB, free: 100.7 MB / 490.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.002358/0.5755, allocations: 1.539 MB / 0.5986 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.5785, allocations: 2.394 MB / 0.6009 GB, free: 99.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5785, allocations: 0.5 kB / 0.6009 GB, free: 99.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5797, allocations: 1.273 MB / 0.6021 GB, free: 98.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5807, allocations: 354.5 kB / 0.6025 GB, free: 98.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.5852, allocations: 3.636 MB / 0.606 GB, free: 96.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.5857, allocations: 0.8007 MB / 0.6068 GB, free: 95.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001021/0.5867, allocations: 437.3 kB / 0.6072 GB, free: 95.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.5871, allocations: 292.7 kB / 0.6075 GB, free: 95.34 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5871, allocations: 0 / 0.6075 GB, free: 95.34 MB / 490.7 MB Notification: Performance of Templates: time 0.04266/0.6298, allocations: 46.74 MB / 0.6532 GB, free: 50.23 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.770774557022378] Failed to read output from testmodel.py, exit status != 0: 0.846987582044676 0.643503889 0.430298459 Calling exit ...