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.001269/0.001269, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001401/0.001401, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.965 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.1303/0.1303, allocations: 23.86 MB / 336.3 MB, free: 11.14 MB / 270.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.001948/0.001948, allocations: 71.89 kB / 471.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 59.86 MB / 0.5191 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008882/0.2979, allocations: 10.45 MB / 0.5293 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04023/0.3382, allocations: 33.13 MB / 0.5616 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3401, allocations: 31.28 kB / 0.5616 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.3419, allocations: 0.7002 MB / 0.5623 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007842/0.3498, allocations: 2.664 MB / 0.5649 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.3622, allocations: 4.365 MB / 0.5692 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.3668, allocations: 3.02 MB / 0.5721 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.3686, allocations: 1.366 MB / 0.5735 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3706, allocations: 1.489 MB / 0.5749 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.3729, allocations: 1.633 MB / 0.5765 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.3733, allocations: 268 kB / 0.5768 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.3847, allocations: 3.654 MB / 0.5803 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.3855, allocations: 0.6114 MB / 0.5809 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.3872, allocations: 1.334 MB / 0.5822 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.4016, allocations: 6.825 MB / 0.5889 GB, free: 2.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4016, allocations: 0 / 0.5889 GB, free: 2.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4016, allocations: 0 / 0.5889 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.4016, allocations: 0 / 0.5889 GB, free: 2.223 MB / 430.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.006015/0.4076, allocations: 3.241 MB / 0.5921 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4077, allocations: 8.031 kB / 0.5921 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.4103, allocations: 0.5804 MB / 0.5927 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.4125, allocations: 1.081 MB / 0.5937 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4127, allocations: 156.6 kB / 0.5939 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.413, allocations: 224.3 kB / 0.5941 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004534/0.4176, allocations: 2.806 MB / 0.5968 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.4176, allocations: 3.938 kB / 0.5968 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.4178, allocations: 88 kB / 0.5969 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.4179, allocations: 56 kB / 0.597 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005834/0.4237, allocations: 3.831 MB / 0.6007 GB, free: 5.973 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.01393/0.4376, allocations: 8.308 MB / 0.6088 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.4433, allocations: 3.306 MB / 0.612 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.4447, allocations: 0.9153 MB / 0.6129 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.4555, allocations: 4.976 MB / 0.6178 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4555, allocations: 47.88 kB / 0.6178 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006047/0.4561, allocations: 194.6 kB / 0.618 GB, free: 3.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 2.585e-06/0.4561, allocations: 0 / 0.618 GB, free: 3.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02859/0.4847, allocations: 6.185 MB / 0.6241 GB, free: 13.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4848, allocations: 69.41 kB / 0.6241 GB, free: 13.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.4869, allocations: 1.695 MB / 0.6258 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.4871, allocations: 49.7 kB / 0.6258 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.4878, allocations: 1.077 MB / 0.6269 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.4883, allocations: 0.6198 MB / 0.6275 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.489, allocations: 484.8 kB / 0.6279 GB, free: 9.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4891, allocations: 301.1 kB / 0.6282 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4904, allocations: 0.8053 MB / 0.629 GB, free: 8.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.4925, allocations: 1.608 MB / 0.6306 GB, free: 6.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.496, allocations: 2.424 MB / 0.633 GB, free: 3.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.496, allocations: 8 kB / 0.633 GB, free: 3.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008548/0.5046, allocations: 3.152 MB / 0.636 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.5046, allocations: 19.94 kB / 0.6361 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.5046, allocations: 28 kB / 0.6361 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/0.5085, allocations: 491.1 kB / 0.6366 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.5104, allocations: 0.5928 MB / 0.6371 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.5214, allocations: 7.297 MB / 0.6443 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.5231, allocations: 80 kB / 0.6443 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.5233, allocations: 144 kB / 0.6445 GB, free: 7.461 MB / 494.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.0007994/0.5241, allocations: 432.1 kB / 0.6449 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.5245, allocations: 174.9 kB / 0.6451 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008062/0.5326, allocations: 2.392 MB / 0.6474 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.5326, allocations: 16.09 kB / 0.6474 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5326, allocations: 3.984 kB / 0.6474 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.5326, allocations: 19.89 kB / 0.6474 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.5353, allocations: 1.835 MB / 0.6492 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.5353, allocations: 0 / 0.6492 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.5366, allocations: 351.8 kB / 0.6496 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/0.5405, allocations: 454.9 kB / 0.65 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.5407, allocations: 59.97 kB / 0.65 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.5509, allocations: 7.118 MB / 0.657 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5509, allocations: 0 / 0.657 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008944/0.5599, allocations: 3.008 MB / 0.6599 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.5603, allocations: 162.7 kB / 0.6601 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.5607, allocations: 40 kB / 0.6601 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5617, allocations: 39.98 kB / 0.6602 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.5621, allocations: 157.7 kB / 0.6603 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.5622, allocations: 71.97 kB / 0.6604 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001566/0.5638, allocations: 1.149 MB / 0.6615 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5638, allocations: 0 / 0.6615 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003987/0.5678, allocations: 1.383 MB / 0.6629 GB, free: 4.004 MB / 0.4981 GB 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.003411/0.5712, allocations: 1.553 MB / 0.6644 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004478/0.5756, allocations: 2.39 MB / 0.6667 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5756, allocations: 1.938 kB / 0.6667 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.5778, allocations: 1.272 MB / 0.668 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.5795, allocations: 360.6 kB / 0.6683 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.5861, allocations: 3.638 MB / 0.6719 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.5874, allocations: 1.374 MB / 0.6732 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001599/0.589, allocations: 441.5 kB / 0.6736 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.5897, allocations: 290.7 kB / 0.6739 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.5897, allocations: 0 / 0.6739 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Templates: time 0.07933/0.669, allocations: 48.86 MB / 0.7216 GB, free: 7.793 MB / 0.5606 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: 6.804717603139579] Failed to read output from testmodel.py, exit status != 0: 0.678199389949441 0.848355602 0.444146079 Calling exit ...