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.001577/0.001577, allocations: 111.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001916/0.001916, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1472/0.1472, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.1 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.002045/0.002045, allocations: 63.34 kB / 467.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 59.83 MB / 0.5146 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01359/0.1457, allocations: 10.39 MB / 0.5248 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04268/0.1884, allocations: 33.05 MB / 0.5571 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.1903, allocations: 35.69 kB / 0.5571 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.1925, allocations: 0.698 MB / 0.5578 GB, free: 116 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009242/0.2018, allocations: 2.635 MB / 0.5603 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.2157, allocations: 4.318 MB / 0.5646 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.2218, allocations: 3.019 MB / 0.5675 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.2241, allocations: 1.37 MB / 0.5688 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.2265, allocations: 1.477 MB / 0.5703 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003017/0.2295, allocations: 1.631 MB / 0.5719 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006373/0.2302, allocations: 264 kB / 0.5721 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.2434, allocations: 3.658 MB / 0.5757 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2446, allocations: 0.6114 MB / 0.5763 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.2467, allocations: 1.326 MB / 0.5776 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01858/0.2652, allocations: 6.829 MB / 0.5843 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2653, allocations: 0 / 0.5843 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2653, allocations: 0 / 0.5843 GB, free: 4.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.2654, allocations: 0 / 0.5843 GB, free: 4.824 MB / 446.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.007793/0.2731, allocations: 3.302 MB / 0.5875 GB, free: 1.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.2732, allocations: 8.031 kB / 0.5875 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.2761, allocations: 0.5843 MB / 0.5881 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2731/0.5492, allocations: 1.15 MB / 0.5892 GB, free: 64.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.5494, allocations: 164.5 kB / 0.5893 GB, free: 64.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/0.5499, allocations: 218.6 kB / 0.5896 GB, free: 64.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.5551, allocations: 2.797 MB / 0.5923 GB, free: 64.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.5551, allocations: 2.25 kB / 0.5923 GB, free: 64.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.5553, allocations: 85.81 kB / 0.5924 GB, free: 64.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.5554, allocations: 51.33 kB / 0.5924 GB, free: 64.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/0.5614, allocations: 3.791 MB / 0.5961 GB, free: 62.95 MB / 446.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.01413/0.5756, allocations: 8.357 MB / 0.6043 GB, free: 58.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00583/0.5814, allocations: 3.835 MB / 0.608 GB, free: 56.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.583, allocations: 0.9118 MB / 0.6089 GB, free: 56.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.5933, allocations: 9.238 MB / 0.6179 GB, free: 48.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5934, allocations: 49.28 kB / 0.618 GB, free: 48.33 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006555/0.594, allocations: 191.2 kB / 0.6182 GB, free: 48.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.606e-06/0.594, allocations: 0 / 0.6182 GB, free: 48.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.0269/0.6209, allocations: 6.41 MB / 0.6244 GB, free: 44.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.621, allocations: 76 kB / 0.6245 GB, free: 44.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.6228, allocations: 1.671 MB / 0.6261 GB, free: 43.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.623, allocations: 54.92 kB / 0.6262 GB, free: 43.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.6234, allocations: 1.077 MB / 0.6272 GB, free: 43.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.6238, allocations: 0.6118 MB / 0.6278 GB, free: 42.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/0.6243, allocations: 485.3 kB / 0.6283 GB, free: 42.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.6243, allocations: 301.1 kB / 0.6286 GB, free: 41.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.6254, allocations: 0.7897 MB / 0.6294 GB, free: 41.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.6268, allocations: 1.605 MB / 0.6309 GB, free: 39.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/0.6293, allocations: 2.411 MB / 0.6333 GB, free: 36.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.6293, allocations: 8 kB / 0.6333 GB, free: 36.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007256/0.6365, allocations: 3.13 MB / 0.6363 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6366, allocations: 16 kB / 0.6364 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.6366, allocations: 24 kB / 0.6364 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/0.6402, allocations: 487.1 kB / 0.6368 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.642, allocations: 0.5889 MB / 0.6374 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008788/0.6508, allocations: 7.722 MB / 0.645 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.6527, allocations: 80 kB / 0.645 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.6529, allocations: 144 kB / 0.6452 GB, free: 23.7 MB / 446.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.0007367/0.6536, allocations: 418.4 kB / 0.6456 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.654, allocations: 178.8 kB / 0.6457 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006863/0.6608, allocations: 2.393 MB / 0.6481 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6608, allocations: 24 kB / 0.6481 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6608, allocations: 0 / 0.6481 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.6609, allocations: 11.95 kB / 0.6481 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.6631, allocations: 1.858 MB / 0.6499 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6631, allocations: 8.062 kB / 0.6499 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.6643, allocations: 345.7 kB / 0.6503 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003581/0.6679, allocations: 457.4 kB / 0.6507 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.668, allocations: 71.91 kB / 0.6508 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.6759, allocations: 7.533 MB / 0.6581 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6759, allocations: 0 / 0.6581 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0074/0.6833, allocations: 3.004 MB / 0.6611 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000578/0.6839, allocations: 246 kB / 0.6613 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.6841, allocations: 36 kB / 0.6613 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.6851, allocations: 43.98 kB / 0.6614 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.6854, allocations: 145.8 kB / 0.6615 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6855, allocations: 71.97 kB / 0.6616 GB, free: 6.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.6866, allocations: 1.137 MB / 0.6627 GB, free: 5.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6866, allocations: 0 / 0.6627 GB, free: 5.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003847/0.6905, allocations: 1.381 MB / 0.664 GB, free: 3.719 MB / 446.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.00273/0.6932, allocations: 1.551 MB / 0.6656 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.6969, allocations: 2.384 MB / 0.6679 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6969, allocations: 384 / 0.6679 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.699, allocations: 1.263 MB / 0.6691 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.701, allocations: 371.3 kB / 0.6695 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.7078, allocations: 3.671 MB / 0.6731 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.709, allocations: 1.382 MB / 0.6744 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.7101, allocations: 386.2 kB / 0.6748 GB, free: 8.707 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7101, allocations: 0 / 0.6748 GB, free: 8.707 MB / 462.1 MB Notification: Performance of Templates: time 0.0902/0.8003, allocations: 67.41 MB / 0.7406 GB, free: 5.344 MB / 0.5137 GB " [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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.11624212100287] Failed to read output from testmodel.py, exit status != 0: 0.8086375519924331 0.822002486 0.553643663 Calling exit ...