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.001393/0.001393, allocations: 109.2 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.00161/0.00161, allocations: 220.1 kB / 22.26 MB, free: 5.121 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.961 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.1438/0.1438, allocations: 23.9 MB / 336.3 MB, free: 11.14 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.002283/0.002283, allocations: 63.91 kB / 471.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3202, allocations: 59.88 MB / 0.5191 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009552/0.3297, allocations: 10.45 MB / 0.5293 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04434/0.374, allocations: 33.13 MB / 0.5617 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.3768, allocations: 35.53 kB / 0.5617 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.3795, allocations: 0.6966 MB / 0.5624 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009528/0.3891, allocations: 2.663 MB / 0.565 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.4032, allocations: 4.377 MB / 0.5693 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00523/0.4084, allocations: 3.019 MB / 0.5722 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.4108, allocations: 1.359 MB / 0.5735 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.4136, allocations: 1.483 MB / 0.575 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.4173, allocations: 1.631 MB / 0.5766 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008349/0.4182, allocations: 264 kB / 0.5768 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/0.4331, allocations: 3.662 MB / 0.5804 GB, free: 11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.4343, allocations: 0.6075 MB / 0.581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.437, allocations: 1.33 MB / 0.5823 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.4549, allocations: 6.832 MB / 0.589 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4549, allocations: 0 / 0.589 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4549, allocations: 4 kB / 0.589 GB, free: 2.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.455, allocations: 0 / 0.589 GB, free: 2.191 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.007751/0.4628, allocations: 3.23 MB / 0.5921 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4628, allocations: 12.03 kB / 0.5922 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.4656, allocations: 0.588 MB / 0.5927 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.468, allocations: 1.081 MB / 0.5938 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4681, allocations: 156.6 kB / 0.5939 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.4685, allocations: 220.3 kB / 0.5941 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.4733, allocations: 2.818 MB / 0.5969 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.4734, allocations: 0 / 0.5969 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.4736, allocations: 88 kB / 0.597 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.4736, allocations: 48 kB / 0.597 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0062/0.4798, allocations: 3.842 MB / 0.6008 GB, free: 5.934 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.01561/0.4955, allocations: 8.285 MB / 0.6089 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006441/0.5019, allocations: 3.337 MB / 0.6121 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.5039, allocations: 0.9114 MB / 0.613 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/0.5169, allocations: 4.974 MB / 0.6179 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.517, allocations: 43.88 kB / 0.6179 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008179/0.5178, allocations: 182.6 kB / 0.6181 GB, free: 3.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 5.911e-06/0.5178, allocations: 4 kB / 0.6181 GB, free: 3.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.0342/0.552, allocations: 6.197 MB / 0.6241 GB, free: 13.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.5521, allocations: 73.34 kB / 0.6242 GB, free: 13.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.5551, allocations: 1.691 MB / 0.6259 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.5555, allocations: 49.7 kB / 0.6259 GB, free: 11.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5565, allocations: 1.073 MB / 0.627 GB, free: 10.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/0.5574, allocations: 0.6198 MB / 0.6276 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.5585, allocations: 480.8 kB / 0.628 GB, free: 9.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5587, allocations: 305.1 kB / 0.6283 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.5603, allocations: 0.8014 MB / 0.6291 GB, free: 8.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.5629, allocations: 1.612 MB / 0.6307 GB, free: 6.492 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.5671, allocations: 2.428 MB / 0.633 GB, free: 3.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/0.5671, allocations: 8 kB / 0.633 GB, free: 3.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009664/0.5768, allocations: 3.152 MB / 0.6361 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.5769, allocations: 16 kB / 0.6361 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.208e-05/0.5769, allocations: 28 kB / 0.6362 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004287/0.5812, allocations: 495 kB / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.5836, allocations: 0.585 MB / 0.6372 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.5956, allocations: 7.294 MB / 0.6443 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.5976, allocations: 87.92 kB / 0.6444 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.598, allocations: 144 kB / 0.6446 GB, free: 7.426 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.000892/0.5988, allocations: 419.1 kB / 0.645 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.5993, allocations: 178.9 kB / 0.6451 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008359/0.6077, allocations: 2.404 MB / 0.6475 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.6077, allocations: 20 kB / 0.6475 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6077, allocations: 0 / 0.6475 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/0.6077, allocations: 7.969 kB / 0.6475 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.611, allocations: 1.838 MB / 0.6493 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.611, allocations: 0 / 0.6493 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.6124, allocations: 347.5 kB / 0.6496 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004128/0.6165, allocations: 459.2 kB / 0.6501 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/0.6168, allocations: 59.97 kB / 0.6501 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.6279, allocations: 7.118 MB / 0.6571 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6279, allocations: 3.938 kB / 0.6571 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009066/0.637, allocations: 3.008 MB / 0.66 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.6376, allocations: 170.7 kB / 0.6602 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.6378, allocations: 40 kB / 0.6602 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/0.6388, allocations: 36 kB / 0.6602 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.6391, allocations: 153.7 kB / 0.6604 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.6393, allocations: 75.97 kB / 0.6605 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001565/0.6408, allocations: 1.145 MB / 0.6616 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6408, allocations: 0 / 0.6616 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004449/0.6453, allocations: 1.383 MB / 0.6629 GB, free: 3.973 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.003525/0.6488, allocations: 1.553 MB / 0.6645 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004711/0.6535, allocations: 2.391 MB / 0.6668 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6535, allocations: 0 / 0.6668 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.6557, allocations: 1.269 MB / 0.668 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6576, allocations: 371.7 kB / 0.6684 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.6642, allocations: 3.634 MB / 0.6719 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.6653, allocations: 1.382 MB / 0.6733 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001687/0.667, allocations: 437.5 kB / 0.6737 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.6677, allocations: 294.7 kB / 0.674 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/0.6677, allocations: 7.938 kB / 0.674 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.07994/0.7476, allocations: 48.85 MB / 0.7217 GB, free: 7.758 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.504055152181536] Failed to read output from testmodel.py, exit status != 0: 0.7573441890999675 0.968496945 0.509540947 Calling exit ...