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.001681/0.001681, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001853/0.001853, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.627/1.627, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1502/0.1502, allocations: 23.84 MB / 332.7 MB, free: 12.38 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.002168/0.002168, allocations: 75.89 kB / 466.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3702, allocations: 59.82 MB / 0.5139 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008208/0.3784, allocations: 7.034 MB / 0.5208 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02905/0.4074, allocations: 21.88 MB / 0.5422 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.4091, allocations: 17.94 kB / 0.5422 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.4108, allocations: 455.7 kB / 0.5426 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007084/0.4179, allocations: 1.66 MB / 0.5443 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.4296, allocations: 2.822 MB / 0.547 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.4337, allocations: 1.823 MB / 0.5488 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4351, allocations: 0.7763 MB / 0.5496 GB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.4375, allocations: 0.8673 MB / 0.5504 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4401, allocations: 0.9516 MB / 0.5513 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.4404, allocations: 152.8 kB / 0.5515 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.451, allocations: 2.342 MB / 0.5538 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008144/0.4519, allocations: 368.5 kB / 0.5541 GB, free: 14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.4534, allocations: 0.7931 MB / 0.5549 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4675, allocations: 4.259 MB / 0.559 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4675, allocations: 4 kB / 0.559 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4675, allocations: 0 / 0.559 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.229e-05/0.4675, allocations: 0 / 0.559 GB, free: 10.81 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.005406/0.4729, allocations: 2.124 MB / 0.5611 GB, free: 9.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.473, allocations: 9.188 kB / 0.5611 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.4749, allocations: 383.2 kB / 0.5615 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.4765, allocations: 0.7726 MB / 0.5623 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.4765, allocations: 92.34 kB / 0.5623 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.4768, allocations: 126.4 kB / 0.5625 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.4798, allocations: 1.767 MB / 0.5642 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4799, allocations: 1.75 kB / 0.5642 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.48, allocations: 50.09 kB / 0.5642 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.48, allocations: 33.89 kB / 0.5643 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.484, allocations: 2.482 MB / 0.5667 GB, free: 4.91 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.01015/0.4942, allocations: 5.116 MB / 0.5717 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.4981, allocations: 2.172 MB / 0.5738 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008678/0.4989, allocations: 0.4951 MB / 0.5743 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008437/0.5074, allocations: 5.324 MB / 0.5795 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.5074, allocations: 43.16 kB / 0.5795 GB, free: 6.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.5074, allocations: 0 / 0.5795 GB, free: 6.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01692/0.5243, allocations: 3.384 MB / 0.5828 GB, free: 3.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.5244, allocations: 68.39 kB / 0.5829 GB, free: 3.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.5265, allocations: 1.292 MB / 0.5842 GB, free: 2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.5267, allocations: 41.7 kB / 0.5842 GB, free: 1.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006633/0.5274, allocations: 0.7061 MB / 0.5849 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.5278, allocations: 337.2 kB / 0.5852 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005878/0.5284, allocations: 283.4 kB / 0.5855 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.5286, allocations: 361.9 kB / 0.5858 GB, free: 268 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009856/0.5296, allocations: 0.5154 MB / 0.5863 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.5311, allocations: 1 MB / 0.5873 GB, free: 14.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.5335, allocations: 1.433 MB / 0.5887 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.5335, allocations: 4 kB / 0.5887 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00546/0.539, allocations: 1.908 MB / 0.5906 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.539, allocations: 12 kB / 0.5906 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.539, allocations: 16 kB / 0.5906 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.5411, allocations: 249.5 kB / 0.5908 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.5424, allocations: 351.5 kB / 0.5912 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/0.5489, allocations: 3.873 MB / 0.595 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.5505, allocations: 48.06 kB / 0.595 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.5509, allocations: 83.97 kB / 0.5951 GB, free: 6.047 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.0008269/0.5517, allocations: 293.3 kB / 0.5954 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.5522, allocations: 111.4 kB / 0.5955 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.5568, allocations: 1.256 MB / 0.5967 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5568, allocations: 8 kB / 0.5967 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.5568, allocations: 4 kB / 0.5967 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5568, allocations: 7.984 kB / 0.5967 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.5589, allocations: 1.098 MB / 0.5978 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5589, allocations: 4 kB / 0.5978 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.5596, allocations: 171.8 kB / 0.598 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.5617, allocations: 237.5 kB / 0.5982 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5618, allocations: 35.92 kB / 0.5982 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/0.5678, allocations: 3.776 MB / 0.6019 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5678, allocations: 0 / 0.6019 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.5727, allocations: 1.592 MB / 0.6035 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/0.5733, allocations: 184.4 kB / 0.6036 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.5736, allocations: 23.94 kB / 0.6037 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.5744, allocations: 16 kB / 0.6037 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.5746, allocations: 80.83 kB / 0.6038 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/0.5747, allocations: 39.98 kB / 0.6038 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.5759, allocations: 0.914 MB / 0.6047 GB, free: 11.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5759, allocations: 0 / 0.6047 GB, free: 11.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003377/0.5793, allocations: 0.853 MB / 0.6055 GB, free: 10.92 MB / 462.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.002961/0.5823, allocations: 1.024 MB / 0.6065 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.5853, allocations: 1.355 MB / 0.6078 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.5853, allocations: 0 / 0.6078 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5866, allocations: 0.6527 MB / 0.6085 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.5884, allocations: 227 kB / 0.6087 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.5932, allocations: 2.124 MB / 0.6108 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.5943, allocations: 1.081 MB / 0.6118 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5954, allocations: 259.8 kB / 0.6121 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.596, allocations: 175.1 kB / 0.6122 GB, free: 3.914 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.596, allocations: 0 / 0.6122 GB, free: 3.914 MB / 462.1 MB Notification: Performance of Templates: time 0.05443/0.6504, allocations: 28.87 MB / 0.6404 GB, free: 7.16 MB / 494.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.614932339638472] Failed to read output from testmodel.py, exit status != 0: 0.6602236852049828 0.67589796 0.20456006899999996 Calling exit ...