Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001413/0.001413, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001569/0.001569, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.793 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.137/0.137, allocations: 24 MB / 336.4 MB, free: 10.84 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002277/0.002277, allocations: 71.89 kB / 471.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3072, allocations: 59.89 MB / 0.5192 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006363/0.3136, allocations: 6.262 MB / 0.5253 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02336/0.337, allocations: 19.19 MB / 0.5441 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3381, allocations: 21.22 kB / 0.5441 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3394, allocations: 406.4 kB / 0.5445 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.345, allocations: 1.634 MB / 0.5461 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.3551, allocations: 2.854 MB / 0.5489 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.3585, allocations: 1.835 MB / 0.5506 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3598, allocations: 0.7525 MB / 0.5514 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.361, allocations: 0.8704 MB / 0.5522 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.3624, allocations: 0.8582 MB / 0.5531 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.3626, allocations: 157 kB / 0.5532 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007402/0.37, allocations: 2.201 MB / 0.5554 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.3705, allocations: 364.1 kB / 0.5557 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3716, allocations: 0.6732 MB / 0.5564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.3841, allocations: 4.235 MB / 0.5605 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3841, allocations: 4 kB / 0.5605 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3841, allocations: 0 / 0.5605 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.3842, allocations: 0 / 0.5605 GB, free: 15.17 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.004925/0.3891, allocations: 2.048 MB / 0.5625 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.3891, allocations: 12.03 kB / 0.5625 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.3909, allocations: 391.1 kB / 0.5629 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.3924, allocations: 0.6964 MB / 0.5636 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.3925, allocations: 94.84 kB / 0.5637 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.3928, allocations: 128.3 kB / 0.5638 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.3958, allocations: 1.779 MB / 0.5655 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.3958, allocations: 0 / 0.5655 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.396, allocations: 56 kB / 0.5656 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.396, allocations: 31.94 kB / 0.5656 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.3998, allocations: 2.496 MB / 0.568 GB, free: 7.348 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.008308/0.4081, allocations: 4.172 MB / 0.5721 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.4116, allocations: 1.846 MB / 0.5739 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.4124, allocations: 494.7 kB / 0.5744 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006476/0.4189, allocations: 2.697 MB / 0.577 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.4189, allocations: 43.22 kB / 0.5771 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.4189, allocations: 0 / 0.5771 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01472/0.4336, allocations: 3.221 MB / 0.5802 GB, free: 10.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4337, allocations: 68.34 kB / 0.5803 GB, free: 10.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4354, allocations: 1.278 MB / 0.5815 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.4354, allocations: 41.7 kB / 0.5816 GB, free: 9.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.436, allocations: 0.7139 MB / 0.5823 GB, free: 8.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.4363, allocations: 329.2 kB / 0.5826 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.4367, allocations: 295.4 kB / 0.5829 GB, free: 7.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4369, allocations: 349.9 kB / 0.5832 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008999/0.4378, allocations: 0.5232 MB / 0.5837 GB, free: 7.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.4391, allocations: 1.008 MB / 0.5847 GB, free: 5.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.4412, allocations: 1.449 MB / 0.5861 GB, free: 4.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.4412, allocations: 8 kB / 0.5861 GB, free: 4.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004884/0.4461, allocations: 1.924 MB / 0.588 GB, free: 2.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.4461, allocations: 15.98 kB / 0.588 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.4462, allocations: 19.94 kB / 0.588 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.4481, allocations: 249.5 kB / 0.5883 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4493, allocations: 355.5 kB / 0.5886 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.4552, allocations: 3.597 MB / 0.5921 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4562, allocations: 47.98 kB / 0.5922 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.4564, allocations: 79.98 kB / 0.5922 GB, free: 13.73 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.0005842/0.457, allocations: 293.3 kB / 0.5925 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.4573, allocations: 103.4 kB / 0.5926 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.4614, allocations: 1.244 MB / 0.5938 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4614, allocations: 8 kB / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4614, allocations: 0 / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.4614, allocations: 15.91 kB / 0.5939 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.4631, allocations: 0.804 MB / 0.5946 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4631, allocations: 0 / 0.5946 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.4637, allocations: 179.8 kB / 0.5948 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.4656, allocations: 233.5 kB / 0.595 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/0.4657, allocations: 27.98 kB / 0.5951 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.471, allocations: 3.5 MB / 0.5985 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.471, allocations: 0 / 0.5985 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.4754, allocations: 1.588 MB / 0.6 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.4757, allocations: 99.38 kB / 0.6001 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.4759, allocations: 19.94 kB / 0.6001 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.4765, allocations: 20 kB / 0.6002 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4767, allocations: 80.8 kB / 0.6002 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.4768, allocations: 35.98 kB / 0.6003 GB, free: 5.188 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.4779, allocations: 0.8856 MB / 0.6011 GB, free: 4.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4779, allocations: 0 / 0.6011 GB, free: 4.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002645/0.4806, allocations: 0.8491 MB / 0.602 GB, free: 3.453 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.002519/0.4831, allocations: 1.032 MB / 0.603 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.4858, allocations: 1.356 MB / 0.6043 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4858, allocations: 0.5 kB / 0.6043 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.4869, allocations: 0.6434 MB / 0.6049 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4883, allocations: 226 kB / 0.6051 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.4924, allocations: 2.134 MB / 0.6072 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.493, allocations: 0.4922 MB / 0.6077 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009841/0.494, allocations: 255 kB / 0.608 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.4944, allocations: 170.8 kB / 0.6081 GB, free: 13.02 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4944, allocations: 4 kB / 0.6081 GB, free: 13.02 MB / 462.1 MB Notification: Performance of Templates: time 0.04719/0.5416, allocations: 30.29 MB / 0.6377 GB, free: 14.94 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801123093813658] Failed to read output from testmodel.py, exit status != 0: 0.5509068612009287 0.564296148 0.176961797 Calling exit ...