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.0007296/0.0007296, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007621/0.0007621, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8281/0.8281, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.08132/0.08132, allocations: 17.37 MB / 277.3 MB, free: 11.87 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: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.558e-05, allocations: 2.281 kB / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.006467/0.006483, allocations: 9.065 MB / 421.8 MB, free: 6.824 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1751/0.1816, allocations: 28.95 MB / 450.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1826, allocations: 33.47 kB / 450.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1837, allocations: 0.6361 MB / 451.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.1872, allocations: 2.707 MB / 454.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.1933, allocations: 4.496 MB / 458.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.1948, allocations: 3.118 MB / 461.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.1958, allocations: 1.365 MB / 463.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.1969, allocations: 2.049 MB / 465.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.1978, allocations: 1.309 MB / 466.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.198, allocations: 263.6 kB / 466.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.2024, allocations: 3.463 MB / 470.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.2027, allocations: 0.6115 MB / 470.8 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.2032, allocations: 0.9684 MB / 471.7 MB, free: 38.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.2082, allocations: 7.251 MB / 479 MB, free: 36.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2082, allocations: 4 kB / 479 MB, free: 36.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2082, allocations: 0 / 479 MB, free: 36.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.2082, allocations: 0 / 479 MB, free: 36.48 MB / 410.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.003071/0.2113, allocations: 3.194 MB / 482.2 MB, free: 34.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2113, allocations: 12.47 kB / 482.2 MB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.2126, allocations: 0.5788 MB / 482.8 MB, free: 34.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.2138, allocations: 1.083 MB / 483.9 MB, free: 33.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.2139, allocations: 158.1 kB / 484 MB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.2141, allocations: 220.8 kB / 484.2 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.2167, allocations: 2.816 MB / 487 MB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.2167, allocations: 3.281 kB / 487 MB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.2169, allocations: 86.22 kB / 487.1 MB, free: 32.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.2169, allocations: 55.34 kB / 487.2 MB, free: 32.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.2206, allocations: 3.789 MB / 491 MB, free: 31.39 MB / 410.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.007612/0.2282, allocations: 6.724 MB / 497.7 MB, free: 28.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.2317, allocations: 3.255 MB / 0.4892 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.2326, allocations: 0.9096 MB / 0.4901 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005716/0.2383, allocations: 4.681 MB / 0.4947 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2383, allocations: 50 kB / 0.4947 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000255/0.2386, allocations: 171.9 kB / 0.4949 GB, free: 24.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 2.795e-06/0.2386, allocations: 0 / 0.4949 GB, free: 24.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01288/0.2515, allocations: 6.182 MB / 0.5009 GB, free: 22.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2515, allocations: 76.16 kB / 0.501 GB, free: 22.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.2525, allocations: 1.632 MB / 0.5026 GB, free: 20.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.2526, allocations: 57.7 kB / 0.5026 GB, free: 20.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.2529, allocations: 1.075 MB / 0.5037 GB, free: 19.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.2531, allocations: 0.616 MB / 0.5043 GB, free: 19.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.2535, allocations: 468.1 kB / 0.5047 GB, free: 18.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.703e-05/0.2535, allocations: 305.1 kB / 0.505 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.2543, allocations: 0.8074 MB / 0.5058 GB, free: 17.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2553, allocations: 1.614 MB / 0.5074 GB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.257, allocations: 2.427 MB / 0.5098 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.2571, allocations: 8 kB / 0.5098 GB, free: 13.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00396/0.261, allocations: 3.134 MB / 0.5128 GB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.261, allocations: 16 kB / 0.5128 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.2611, allocations: 24 kB / 0.5129 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.2626, allocations: 0.495 MB / 0.5134 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.2635, allocations: 0.585 MB / 0.5139 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.2682, allocations: 7.145 MB / 0.5209 GB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.269, allocations: 80 kB / 0.521 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.2691, allocations: 140 kB / 0.5211 GB, free: 1.23 MB / 410.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.0004651/0.2696, allocations: 422.5 kB / 0.5215 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2697, allocations: 170.9 kB / 0.5217 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.2738, allocations: 2.392 MB / 0.524 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2738, allocations: 23.98 kB / 0.524 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2738, allocations: 0 / 0.524 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2738, allocations: 19.84 kB / 0.5241 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.2752, allocations: 1.371 MB / 0.5254 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2753, allocations: 3.938 kB / 0.5254 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.2759, allocations: 351.5 kB / 0.5257 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.2775, allocations: 451.1 kB / 0.5262 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.2776, allocations: 63.97 kB / 0.5262 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/0.283, allocations: 6.954 MB / 0.533 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.283, allocations: 3.938 kB / 0.533 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/0.2872, allocations: 2.989 MB / 0.5359 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2874, allocations: 154.9 kB / 0.5361 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2875, allocations: 39.94 kB / 0.5361 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.2879, allocations: 44 kB / 0.5362 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.2881, allocations: 149.7 kB / 0.5363 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.2882, allocations: 75.97 kB / 0.5364 GB, free: 1.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007988/0.289, allocations: 1.08 MB / 0.5374 GB, free: 20 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.289, allocations: 0 / 0.5374 GB, free: 20 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002863/0.2919, allocations: 1.379 MB / 0.5388 GB, free: 14.64 MB / 442.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.001919/0.2938, allocations: 1.596 MB / 0.5403 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.2963, allocations: 2.391 MB / 0.5427 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2963, allocations: 4 kB / 0.5427 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.2974, allocations: 1.272 MB / 0.5439 GB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.2984, allocations: 359.6 kB / 0.5443 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.3025, allocations: 3.554 MB / 0.5477 GB, free: 5.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.303, allocations: 0.8059 MB / 0.5485 GB, free: 4.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.3036, allocations: 379.5 kB / 0.5489 GB, free: 4.277 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3036, allocations: 0 / 0.5489 GB, free: 4.277 MB / 442.7 MB Notification: Performance of Templates: time 0.04769/0.3512, allocations: 68.22 MB / 0.6155 GB, free: 124 kB / 0.4948 GB " [Timeout remaining time 660] 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: 7.383566892705858] Failed to read output from testmodel.py, exit status != 0: 0.3581595290452242 0.366994669 0.157075778 Calling exit ...