Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001564/0.001564, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001645/0.001645, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.134/0.134, allocations: 23.9 MB / 333.4 MB, free: 1.27 MB / 254.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002083/0.002083, allocations: 68.09 kB / 467.2 MB, free: 30.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09083, allocations: 59.85 MB / 0.5147 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01208/0.1029, allocations: 10.38 MB / 0.5248 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04023/0.1431, allocations: 33.05 MB / 0.5571 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.1445, allocations: 35.69 kB / 0.5572 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.1462, allocations: 0.6941 MB / 0.5578 GB, free: 180 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.1529, allocations: 2.638 MB / 0.5604 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.1638, allocations: 4.318 MB / 0.5646 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.1679, allocations: 3.019 MB / 0.5676 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.1696, allocations: 1.362 MB / 0.5689 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.1714, allocations: 1.481 MB / 0.5704 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.1736, allocations: 1.631 MB / 0.5719 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004414/0.174, allocations: 268 kB / 0.5722 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.1844, allocations: 3.658 MB / 0.5758 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006591/0.1851, allocations: 0.6074 MB / 0.5764 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.1865, allocations: 1.33 MB / 0.5777 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.2003, allocations: 6.829 MB / 0.5843 GB, free: 4.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.2003, allocations: 4 kB / 0.5843 GB, free: 4.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2003, allocations: 0 / 0.5843 GB, free: 4.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.667e-05/0.2003, allocations: 0 / 0.5843 GB, free: 4.879 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.00636/0.2067, allocations: 3.298 MB / 0.5876 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2067, allocations: 15.97 kB / 0.5876 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.2094, allocations: 0.5841 MB / 0.5881 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2062/0.4157, allocations: 1.143 MB / 0.5893 GB, free: 64.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.4158, allocations: 160.5 kB / 0.5894 GB, free: 64.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.4164, allocations: 222.9 kB / 0.5896 GB, free: 64.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004809/0.4212, allocations: 2.797 MB / 0.5924 GB, free: 64.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.4212, allocations: 0.875 kB / 0.5924 GB, free: 64.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.4215, allocations: 82.3 kB / 0.5924 GB, free: 64.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.4215, allocations: 52.64 kB / 0.5925 GB, free: 64.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/0.4272, allocations: 3.798 MB / 0.5962 GB, free: 62.97 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.01276/0.44, allocations: 8.355 MB / 0.6044 GB, free: 58.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.4456, allocations: 3.839 MB / 0.6081 GB, free: 56.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.447, allocations: 0.9063 MB / 0.609 GB, free: 56.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/0.4569, allocations: 9.249 MB / 0.618 GB, free: 48.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.4569, allocations: 44.91 kB / 0.6181 GB, free: 48.36 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005704/0.4574, allocations: 189.9 kB / 0.6182 GB, free: 48.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.095e-06/0.4575, allocations: 0 / 0.6182 GB, free: 48.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.02662/0.4841, allocations: 6.418 MB / 0.6245 GB, free: 44.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4841, allocations: 71.53 kB / 0.6246 GB, free: 44.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.4859, allocations: 1.666 MB / 0.6262 GB, free: 44.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.486, allocations: 53.36 kB / 0.6263 GB, free: 43.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.4864, allocations: 1.076 MB / 0.6273 GB, free: 43.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.4868, allocations: 0.6179 MB / 0.6279 GB, free: 42.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.4873, allocations: 482.9 kB / 0.6284 GB, free: 42.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.4873, allocations: 301.1 kB / 0.6287 GB, free: 41.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.4885, allocations: 0.7936 MB / 0.6294 GB, free: 41.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.4898, allocations: 1.594 MB / 0.631 GB, free: 39.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4923, allocations: 2.413 MB / 0.6334 GB, free: 36.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.4923, allocations: 12 kB / 0.6334 GB, free: 36.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007387/0.4997, allocations: 3.132 MB / 0.6364 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4997, allocations: 18.5 kB / 0.6364 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.4998, allocations: 30.31 kB / 0.6365 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/0.5035, allocations: 487.1 kB / 0.6369 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.5053, allocations: 0.585 MB / 0.6375 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/0.5142, allocations: 7.715 MB / 0.645 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.5159, allocations: 80 kB / 0.6451 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.516, allocations: 140 kB / 0.6452 GB, free: 23.71 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.0007287/0.5168, allocations: 425.2 kB / 0.6457 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.5171, allocations: 178.8 kB / 0.6458 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006948/0.524, allocations: 2.398 MB / 0.6482 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.524, allocations: 16 kB / 0.6482 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.524, allocations: 4 kB / 0.6482 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.5241, allocations: 11.97 kB / 0.6482 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5262, allocations: 1.853 MB / 0.65 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5262, allocations: 256 / 0.65 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.5274, allocations: 347.6 kB / 0.6503 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/0.531, allocations: 462.8 kB / 0.6508 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.5311, allocations: 59.91 kB / 0.6508 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007888/0.539, allocations: 7.545 MB / 0.6582 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.539, allocations: 4 kB / 0.6582 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/0.5461, allocations: 2.996 MB / 0.6611 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5464, allocations: 245.8 kB / 0.6614 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.5466, allocations: 36 kB / 0.6614 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.5476, allocations: 43.98 kB / 0.6614 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.5478, allocations: 146 kB / 0.6616 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.5479, allocations: 71.97 kB / 0.6617 GB, free: 6.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.5489, allocations: 1.137 MB / 0.6628 GB, free: 5.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5489, allocations: 0 / 0.6628 GB, free: 5.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0033/0.5522, allocations: 1.381 MB / 0.6641 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.00223/0.5545, allocations: 1.545 MB / 0.6656 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003411/0.5579, allocations: 2.392 MB / 0.668 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5579, allocations: 0 / 0.668 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.5601, allocations: 1.267 MB / 0.6692 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.001704/0.5618, allocations: 368.2 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.006271/0.568, allocations: 3.668 MB / 0.6731 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.5692, allocations: 1.389 MB / 0.6745 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/0.5701, allocations: 382.2 kB / 0.6748 GB, free: 8.707 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5701, allocations: 3.938 kB / 0.6749 GB, free: 8.703 MB / 462.1 MB Notification: Performance of Templates: time 0.0831/0.6532, allocations: 67.42 MB / 0.7407 GB, free: 5.344 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.235473498003557] Failed to read output from testmodel.py, exit status != 0: 0.6616775319853332 0.675954256 0.472483499 Calling exit ...