Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.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.001762/0.001762, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.002181/0.002181, allocations: 162.9 kB / 22.46 MB, free: 5.359 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1284/0.1284, allocations: 17.46 MB / 276.6 MB, free: 15.22 MB / 270.1 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 412.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.654e-05, allocations: 2.281 kB / 412.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.00838/0.008407, allocations: 6.241 MB / 418.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.03426, allocations: 19.18 MB / 437.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.03533, allocations: 23.81 kB / 437.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.03666, allocations: 416.7 kB / 437.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.0414, allocations: 1.687 MB / 439.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00827/0.04967, allocations: 2.938 MB / 442.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.05296, allocations: 1.899 MB / 444.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.05417, allocations: 0.762 MB / 445.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.05582, allocations: 1.201 MB / 446.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.0571, allocations: 0.7639 MB / 447.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.05736, allocations: 152 kB / 447.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1936/0.251, allocations: 2.214 MB / 449.6 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.2515, allocations: 367.3 kB / 449.9 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000962/0.2524, allocations: 0.5735 MB / 450.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2629, allocations: 4.516 MB / 455 MB, free: 20.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.263, allocations: 1.25 kB / 455 MB, free: 20.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.263, allocations: 0 / 455 MB, free: 20.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.941e-05/0.263, allocations: 0 / 455 MB, free: 20.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004572/0.2676, allocations: 2.043 MB / 457 MB, free: 19.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2676, allocations: 9.922 kB / 457.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.2694, allocations: 383.7 kB / 457.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.2709, allocations: 0.6883 MB / 458.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.2709, allocations: 93.78 kB / 458.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.2712, allocations: 132.9 kB / 458.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.2744, allocations: 1.78 MB / 460.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.2744, allocations: 0.9688 kB / 460.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.2746, allocations: 50.38 kB / 460.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.2746, allocations: 34.81 kB / 460.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.2782, allocations: 2.497 MB / 462.7 MB, free: 18.75 MB / 366.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.007468/0.2857, allocations: 4.172 MB / 466.9 MB, free: 16.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.2888, allocations: 1.833 MB / 468.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.2894, allocations: 0.49 MB / 469.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005228/0.2947, allocations: 2.688 MB / 471.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2947, allocations: 39.2 kB / 471.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.346e-06/0.2947, allocations: 3.984 kB / 471.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01402/0.3087, allocations: 3.232 MB / 475.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3087, allocations: 64.28 kB / 475.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.31, allocations: 1.287 MB / 476.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.31, allocations: 45.23 kB / 476.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.3104, allocations: 0.7059 MB / 477.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.3106, allocations: 330.8 kB / 477.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.3109, allocations: 285.6 kB / 477.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.311, allocations: 350.9 kB / 478.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.3117, allocations: 0.5237 MB / 478.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.3126, allocations: 1.014 MB / 479.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.3141, allocations: 1.446 MB / 481.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3141, allocations: 5.156 kB / 481.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004224/0.3184, allocations: 1.922 MB / 483.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.3184, allocations: 22.73 kB / 483.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.3184, allocations: 17.75 kB / 483.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.3204, allocations: 255.9 kB / 483.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3215, allocations: 344.8 kB / 483.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.3261, allocations: 3.583 MB / 487.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3273, allocations: 51.98 kB / 487.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.3274, allocations: 79.98 kB / 487.5 MB, free: 3.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.3279, allocations: 294.9 kB / 487.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.3281, allocations: 111.3 kB / 487.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.3317, allocations: 1.232 MB / 489.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3317, allocations: 12 kB / 489.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3317, allocations: 4 kB / 489.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3318, allocations: 7.969 kB / 489.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3329, allocations: 0.8167 MB / 489.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3329, allocations: 4 kB / 489.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.3336, allocations: 178.7 kB / 490.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.3355, allocations: 229.6 kB / 490.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.3355, allocations: 39.97 kB / 490.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005225/0.3408, allocations: 3.475 MB / 493.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.3408, allocations: 7.969 kB / 493.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/0.3453, allocations: 1.583 MB / 495.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.3457, allocations: 95.38 kB / 495.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.3459, allocations: 24 kB / 495.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.3465, allocations: 16 kB / 495.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.3467, allocations: 81.67 kB / 495.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/0.3468, allocations: 40.73 kB / 495.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.3479, allocations: 0.8856 MB / 496.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3479, allocations: 0 / 496.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00284/0.3508, allocations: 0.8452 MB / 497.4 MB, free: 9.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/0.3529, allocations: 1.075 MB / 498.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.3555, allocations: 1.361 MB / 499.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.3555, allocations: 4 kB / 499.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.3566, allocations: 0.6432 MB / 0.4888 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3577, allocations: 223.6 kB / 0.489 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.3615, allocations: 2.027 MB / 0.491 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.362, allocations: 496.7 kB / 0.4914 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008697/0.3629, allocations: 261.9 kB / 0.4917 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.3633, allocations: 171.9 kB / 0.4918 GB, free: 3.375 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3633, allocations: 3.938 kB / 0.4918 GB, free: 3.371 MB / 382.1 MB Notification: Performance of Templates: time 0.04865/0.4119, allocations: 28.6 MB / 0.5198 GB, free: 7.078 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8531185276806355] Failed to read output from testmodel.py, exit status != 0: 0.42115673050284386 0.43537846399999997 0.16918612200000002 Calling exit ...