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.001308/0.001308, allocations: 120.4 kB / 17.13 MB, free: 5.758 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.001245/0.001245, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.09538/0.09538, allocations: 15.54 MB / 318.9 MB, free: 13.61 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.001907/0.001907, allocations: 70.12 kB / 446.1 MB, free: 48.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09989, allocations: 56.56 MB / 0.4909 GB, free: 20.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.00863/0.1085, allocations: 10.37 MB / 0.501 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03494/0.1435, allocations: 32.99 MB / 0.5332 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.1457, allocations: 23.88 kB / 0.5332 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.148, allocations: 0.698 MB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008212/0.1562, allocations: 2.634 MB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.1685, allocations: 4.318 MB / 0.5407 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.1739, allocations: 3.018 MB / 0.5436 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.176, allocations: 1.358 MB / 0.545 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.1781, allocations: 1.465 MB / 0.5464 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.1805, allocations: 1.631 MB / 0.548 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.181, allocations: 264 kB / 0.5482 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.1921, allocations: 3.654 MB / 0.5518 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.1931, allocations: 0.6076 MB / 0.5524 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.195, allocations: 1.33 MB / 0.5537 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.2114, allocations: 6.654 MB / 0.5602 GB, free: 160 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2114, allocations: 0 / 0.5602 GB, free: 160 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2114, allocations: 0 / 0.5602 GB, free: 160 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.693e-05/0.2115, allocations: 0 / 0.5602 GB, free: 160 kB / 414.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.006676/0.2181, allocations: 3.309 MB / 0.5634 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2182, allocations: 8.031 kB / 0.5634 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.2207, allocations: 0.5804 MB / 0.564 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.223, allocations: 1.143 MB / 0.5651 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2231, allocations: 160.6 kB / 0.5653 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/0.2235, allocations: 216.3 kB / 0.5655 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/0.228, allocations: 2.794 MB / 0.5682 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.2281, allocations: 7.984 kB / 0.5682 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.2283, allocations: 91.94 kB / 0.5683 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.2283, allocations: 52 kB / 0.5684 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.2341, allocations: 3.792 MB / 0.5721 GB, free: 3.789 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.01467/0.2488, allocations: 8.324 MB / 0.5802 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006046/0.2548, allocations: 3.845 MB / 0.5839 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.2564, allocations: 0.9115 MB / 0.5848 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/0.27, allocations: 9.228 MB / 0.5938 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.27, allocations: 47.88 kB / 0.5939 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007025/0.2707, allocations: 178.7 kB / 0.5941 GB, free: 11.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.307e-06/0.2707, allocations: 0 / 0.5941 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03013/0.3009, allocations: 6.43 MB / 0.6003 GB, free: 5.207 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.3009, allocations: 69.41 kB / 0.6004 GB, free: 5.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.3034, allocations: 1.664 MB / 0.602 GB, free: 3.449 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.3037, allocations: 53.7 kB / 0.6021 GB, free: 3.391 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/0.3046, allocations: 1.077 MB / 0.6031 GB, free: 2.301 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008048/0.3054, allocations: 0.6198 MB / 0.6037 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/0.3062, allocations: 476.8 kB / 0.6042 GB, free: 1.203 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3064, allocations: 305.1 kB / 0.6045 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3077, allocations: 0.7936 MB / 0.6053 GB, free: 108 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2474/0.5551, allocations: 1.59 MB / 0.6068 GB, free: 99.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.5585, allocations: 2.417 MB / 0.6092 GB, free: 98.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/0.5586, allocations: 7.469 kB / 0.6092 GB, free: 98.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008901/0.5675, allocations: 3.128 MB / 0.6122 GB, free: 97.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.5675, allocations: 15.66 kB / 0.6122 GB, free: 97.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.5676, allocations: 26.06 kB / 0.6123 GB, free: 97.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/0.5717, allocations: 487.3 kB / 0.6127 GB, free: 97.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.5742, allocations: 0.5977 MB / 0.6133 GB, free: 97.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.5839, allocations: 7.708 MB / 0.6208 GB, free: 90.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.586, allocations: 86.75 kB / 0.6209 GB, free: 90.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.5863, allocations: 138.5 kB / 0.6211 GB, free: 90.32 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.0008046/0.5871, allocations: 415.3 kB / 0.6215 GB, free: 90.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/0.5874, allocations: 183.2 kB / 0.6216 GB, free: 90.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007141/0.5946, allocations: 2.39 MB / 0.624 GB, free: 89.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.5946, allocations: 17.38 kB / 0.624 GB, free: 89.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5946, allocations: 5.531 kB / 0.624 GB, free: 89.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.5946, allocations: 9.25 kB / 0.624 GB, free: 89.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.5974, allocations: 1.856 MB / 0.6258 GB, free: 88.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5974, allocations: 5.969 kB / 0.6258 GB, free: 88.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.5987, allocations: 341.2 kB / 0.6261 GB, free: 88.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/0.6023, allocations: 456.7 kB / 0.6266 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.6025, allocations: 64.89 kB / 0.6266 GB, free: 88.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007888/0.6104, allocations: 7.539 MB / 0.634 GB, free: 81.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6104, allocations: 3.938 kB / 0.634 GB, free: 81.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/0.6176, allocations: 3 MB / 0.6369 GB, free: 79.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.618, allocations: 239.8 kB / 0.6372 GB, free: 79.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.6183, allocations: 41.75 kB / 0.6372 GB, free: 79.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/0.6191, allocations: 42.84 kB / 0.6372 GB, free: 79.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.6194, allocations: 144.3 kB / 0.6374 GB, free: 79.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.6195, allocations: 75.19 kB / 0.6375 GB, free: 79.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.6205, allocations: 1.134 MB / 0.6386 GB, free: 79.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6205, allocations: 0 / 0.6386 GB, free: 79.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003434/0.624, allocations: 1.386 MB / 0.6399 GB, free: 79.08 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.002242/0.6262, allocations: 1.517 MB / 0.6414 GB, free: 78.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.6299, allocations: 2.38 MB / 0.6437 GB, free: 76.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6299, allocations: 4 kB / 0.6437 GB, free: 76.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.6314, allocations: 1.276 MB / 0.645 GB, free: 75.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6331, allocations: 371.5 kB / 0.6453 GB, free: 74.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.6383, allocations: 3.671 MB / 0.6489 GB, free: 71.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.6389, allocations: 1.378 MB / 0.6503 GB, free: 69.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/0.6397, allocations: 383.9 kB / 0.6506 GB, free: 69.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6397, allocations: 4 kB / 0.6506 GB, free: 69.32 MB / 462.1 MB Notification: Performance of Templates: time 0.05582/0.6955, allocations: 66.52 MB / 0.7156 GB, free: 2.871 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: 11.399595433991635] Failed to read output from testmodel.py, exit status != 0: 0.8907087749976199 0.715823356 0.501373474 Calling exit ...