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.002083/0.002083, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.002232/0.002232, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1515/0.1515, allocations: 23.88 MB / 332.7 MB, free: 12.33 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,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.002131/0.002131, allocations: 67.88 kB / 466.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3554, allocations: 59.83 MB / 0.514 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009445/0.3648, allocations: 10.4 MB / 0.5242 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04446/0.4093, allocations: 33.05 MB / 0.5565 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.412, allocations: 31.56 kB / 0.5565 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.4145, allocations: 0.6964 MB / 0.5572 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009838/0.4243, allocations: 2.64 MB / 0.5597 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.4387, allocations: 4.318 MB / 0.564 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005297/0.444, allocations: 3.022 MB / 0.5669 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.4462, allocations: 1.362 MB / 0.5682 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.4492, allocations: 1.49 MB / 0.5697 GB, free: 384 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.4527, allocations: 1.626 MB / 0.5713 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008075/0.4535, allocations: 263.4 kB / 0.5715 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02191/0.4754, allocations: 3.657 MB / 0.5751 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.4774, allocations: 0.6114 MB / 0.5757 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.481, allocations: 1.326 MB / 0.577 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02798/0.509, allocations: 6.836 MB / 0.5837 GB, free: 3.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.509, allocations: 0 / 0.5837 GB, free: 3.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.509, allocations: 4 kB / 0.5837 GB, free: 3.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.5091, allocations: 0 / 0.5837 GB, free: 3.531 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.007147/0.5163, allocations: 3.306 MB / 0.5869 GB, free: 156 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5163, allocations: 8.031 kB / 0.5869 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.5191, allocations: 0.5879 MB / 0.5875 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.5213, allocations: 1.147 MB / 0.5886 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.5214, allocations: 160.6 kB / 0.5888 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.5218, allocations: 216.3 kB / 0.589 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.5266, allocations: 2.802 MB / 0.5917 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.5266, allocations: 0 / 0.5917 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.5269, allocations: 88 kB / 0.5918 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.5269, allocations: 48 kB / 0.5918 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006088/0.533, allocations: 3.796 MB / 0.5955 GB, free: 7.16 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.01579/0.5488, allocations: 8.348 MB / 0.6037 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/0.5553, allocations: 3.851 MB / 0.6075 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.5571, allocations: 0.9084 MB / 0.6083 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.5719, allocations: 9.248 MB / 0.6174 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.5719, allocations: 43.88 kB / 0.6174 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007618/0.5727, allocations: 190.6 kB / 0.6176 GB, free: 15.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 4.017e-06/0.5727, allocations: 0 / 0.6176 GB, free: 15.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.03073/0.6034, allocations: 6.411 MB / 0.6239 GB, free: 8.539 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.6035, allocations: 69.41 kB / 0.6239 GB, free: 8.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.6059, allocations: 1.671 MB / 0.6256 GB, free: 6.773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6061, allocations: 49.7 kB / 0.6256 GB, free: 6.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.6069, allocations: 1.077 MB / 0.6267 GB, free: 5.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000625/0.6076, allocations: 0.6159 MB / 0.6273 GB, free: 5.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007557/0.6083, allocations: 480.8 kB / 0.6277 GB, free: 4.531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6084, allocations: 301.1 kB / 0.628 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.6099, allocations: 0.7897 MB / 0.6288 GB, free: 3.441 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.6122, allocations: 1.597 MB / 0.6303 GB, free: 1.477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/0.6163, allocations: 2.421 MB / 0.6327 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.6163, allocations: 8 kB / 0.6327 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008836/0.6251, allocations: 3.128 MB / 0.6358 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.6252, allocations: 16 kB / 0.6358 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/0.6252, allocations: 24 kB / 0.6358 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.6291, allocations: 491.1 kB / 0.6363 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.6316, allocations: 0.5889 MB / 0.6368 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.6437, allocations: 7.718 MB / 0.6444 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.6457, allocations: 87.92 kB / 0.6445 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.646, allocations: 136 kB / 0.6446 GB, free: 1.934 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.0008734/0.6469, allocations: 428.9 kB / 0.645 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.6474, allocations: 182.8 kB / 0.6452 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008472/0.6559, allocations: 2.377 MB / 0.6475 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.6559, allocations: 24 kB / 0.6475 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.6559, allocations: 7.984 kB / 0.6475 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/0.6559, allocations: 7.969 kB / 0.6475 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.6592, allocations: 1.871 MB / 0.6494 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6592, allocations: 0 / 0.6494 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.6606, allocations: 339.6 kB / 0.6497 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003758/0.6644, allocations: 466.9 kB / 0.6501 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.6646, allocations: 59.97 kB / 0.6502 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.6759, allocations: 7.536 MB / 0.6575 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6759, allocations: 4 kB / 0.6576 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009002/0.6849, allocations: 3 MB / 0.6605 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.6855, allocations: 235.9 kB / 0.6607 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.6857, allocations: 43.98 kB / 0.6607 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.6867, allocations: 40 kB / 0.6608 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/0.687, allocations: 153.8 kB / 0.6609 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.6872, allocations: 71.97 kB / 0.661 GB, free: 376 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001558/0.6887, allocations: 1.126 MB / 0.6621 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6887, allocations: 0 / 0.6621 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00458/0.6933, allocations: 1.387 MB / 0.6635 GB, free: 13.85 MB / 0.5137 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.00339/0.6967, allocations: 1.549 MB / 0.665 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0049/0.7016, allocations: 2.384 MB / 0.6673 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7016, allocations: 0.5 kB / 0.6673 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.7038, allocations: 1.272 MB / 0.6685 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.7058, allocations: 361.6 kB / 0.6689 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.7121, allocations: 3.623 MB / 0.6724 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.7133, allocations: 1.378 MB / 0.6738 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001625/0.7149, allocations: 443.8 kB / 0.6742 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/0.7156, allocations: 298.5 kB / 0.6745 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.7156, allocations: 0 / 0.6745 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.07785/0.7935, allocations: 47.32 MB / 0.7207 GB, free: 3.199 MB / 0.5606 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: 7.226701807230711] Failed to read output from testmodel.py, exit status != 0: 0.8025880828499794 0.999738333 0.48791832100000004 Calling exit ...