Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002122/0.002122, allocations: 108.2 kB / 18.99 MB, free: 2.746 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.003094/0.003094, allocations: 216.6 kB / 22.3 MB, free: 5.152 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.544/1.544, allocations: 230.7 MB / 256.1 MB, free: 7.797 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.1418/0.1418, allocations: 23.88 MB / 336.4 MB, free: 10.97 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [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.002207/0.002207, allocations: 59.91 kB / 471.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3667, allocations: 59.87 MB / 0.5191 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008687/0.3754, allocations: 6.264 MB / 0.5252 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02769/0.403, allocations: 19.18 MB / 0.544 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.4048, allocations: 21.66 kB / 0.544 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.4065, allocations: 405.8 kB / 0.5444 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.4141, allocations: 1.634 MB / 0.546 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.4254, allocations: 2.854 MB / 0.5488 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.429, allocations: 1.829 MB / 0.5506 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.4304, allocations: 0.7522 MB / 0.5513 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.432, allocations: 0.8752 MB / 0.5521 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.4335, allocations: 0.862 MB / 0.553 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.4337, allocations: 152.5 kB / 0.5531 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009569/0.4433, allocations: 2.197 MB / 0.5553 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006758/0.444, allocations: 361 kB / 0.5556 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.4453, allocations: 0.6686 MB / 0.5563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.4592, allocations: 4.242 MB / 0.5604 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4592, allocations: 3.938 kB / 0.5604 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4592, allocations: 1.594 kB / 0.5604 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.4593, allocations: 0 / 0.5604 GB, free: 15.29 MB / 414.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.004618/0.4639, allocations: 2.051 MB / 0.5624 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4639, allocations: 8.031 kB / 0.5624 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4657, allocations: 395.2 kB / 0.5628 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4673, allocations: 0.6925 MB / 0.5635 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.4674, allocations: 94.84 kB / 0.5636 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.4676, allocations: 128.3 kB / 0.5637 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.4706, allocations: 1.783 MB / 0.5654 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.4706, allocations: 3.984 kB / 0.5654 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.4707, allocations: 52 kB / 0.5655 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.4707, allocations: 28 kB / 0.5655 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.4746, allocations: 2.496 MB / 0.568 GB, free: 7.52 MB / 414.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.008546/0.4831, allocations: 4.177 MB / 0.572 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/0.4867, allocations: 1.839 MB / 0.5738 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.4875, allocations: 494.7 kB / 0.5743 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006464/0.494, allocations: 2.7 MB / 0.5769 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.494, allocations: 39.22 kB / 0.577 GB, free: 14.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.494, allocations: 3.938 kB / 0.577 GB, free: 14.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01533/0.5094, allocations: 3.228 MB / 0.5801 GB, free: 10.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.5094, allocations: 60.41 kB / 0.5802 GB, free: 10.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.5111, allocations: 1.286 MB / 0.5814 GB, free: 9.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/0.5112, allocations: 41.7 kB / 0.5815 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.5118, allocations: 0.71 MB / 0.5822 GB, free: 8.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.5121, allocations: 333.2 kB / 0.5825 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/0.5125, allocations: 291.4 kB / 0.5828 GB, free: 8.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.5126, allocations: 357.9 kB / 0.5831 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.5135, allocations: 0.5232 MB / 0.5836 GB, free: 7.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5148, allocations: 1.012 MB / 0.5846 GB, free: 6.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5169, allocations: 1.445 MB / 0.586 GB, free: 4.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.5169, allocations: 12 kB / 0.586 GB, free: 4.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004945/0.5218, allocations: 1.924 MB / 0.5879 GB, free: 2.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.5219, allocations: 12 kB / 0.5879 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.5219, allocations: 16 kB / 0.5879 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.5239, allocations: 245.5 kB / 0.5882 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.5251, allocations: 351.5 kB / 0.5885 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.5312, allocations: 3.601 MB / 0.592 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5326, allocations: 48 kB / 0.5921 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.5327, allocations: 80.16 kB / 0.5922 GB, free: 13.89 MB / 446.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.0005897/0.5333, allocations: 297.3 kB / 0.5924 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.5336, allocations: 103.3 kB / 0.5925 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/0.5375, allocations: 1.24 MB / 0.5937 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5375, allocations: 8 kB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5375, allocations: 7.938 kB / 0.5938 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5376, allocations: 11.92 kB / 0.5938 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.5391, allocations: 0.8083 MB / 0.5946 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5391, allocations: 0 / 0.5946 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.5398, allocations: 179.8 kB / 0.5947 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.5417, allocations: 233.5 kB / 0.595 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.5417, allocations: 27.98 kB / 0.595 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.5471, allocations: 3.484 MB / 0.5984 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5471, allocations: 0 / 0.5984 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/0.5528, allocations: 1.584 MB / 0.5999 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.5533, allocations: 95.39 kB / 0.6 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.5535, allocations: 31.86 kB / 0.6001 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.5542, allocations: 20 kB / 0.6001 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.5545, allocations: 76.86 kB / 0.6001 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.5547, allocations: 39.98 kB / 0.6002 GB, free: 5.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.5562, allocations: 0.8856 MB / 0.601 GB, free: 4.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5562, allocations: 0 / 0.601 GB, free: 4.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003571/0.5598, allocations: 0.8452 MB / 0.6019 GB, free: 3.621 MB / 446.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.002798/0.5626, allocations: 1.043 MB / 0.6029 GB, free: 2.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.5661, allocations: 1.36 MB / 0.6042 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5661, allocations: 0 / 0.6042 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.5676, allocations: 0.6439 MB / 0.6048 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.5693, allocations: 217.8 kB / 0.6051 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.5745, allocations: 2.133 MB / 0.6071 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.575, allocations: 500 kB / 0.6076 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009226/0.576, allocations: 259.7 kB / 0.6079 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.5763, allocations: 167.9 kB / 0.608 GB, free: 13.19 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5763, allocations: 0 / 0.608 GB, free: 13.19 MB / 462.1 MB Notification: Performance of Templates: time 0.04558/0.6219, allocations: 28.61 MB / 0.636 GB, free: 0.793 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.405512293800712] Failed to read output from testmodel.py, exit status != 0: 0.6315240282565355 0.646261627 0.18362008600000002 Calling exit ...