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.00124/0.00124, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001338/0.001338, allocations: 157.3 kB / 23 MB, free: 4.605 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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.1245/0.1245, allocations: 17.44 MB / 277.2 MB, free: 15.21 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.001962/0.001962, allocations: 67.89 kB / 412.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 59.88 MB / 472.4 MB, free: 9.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008016/0.1138, allocations: 6.275 MB / 478.7 MB, free: 3.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2197/0.3335, allocations: 19.18 MB / 497.9 MB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.3345, allocations: 21.25 kB / 497.9 MB, free: 36.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3355, allocations: 402.3 kB / 498.3 MB, free: 36.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003751/0.3393, allocations: 1.632 MB / 499.9 MB, free: 35.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006672/0.3459, allocations: 2.862 MB / 0.491 GB, free: 34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.3478, allocations: 1.824 MB / 0.4928 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.3486, allocations: 0.7527 MB / 0.4935 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007912/0.3494, allocations: 0.8788 MB / 0.4944 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.3503, allocations: 0.8488 MB / 0.4952 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.3505, allocations: 154.1 kB / 0.4954 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.3554, allocations: 2.202 MB / 0.4975 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.3557, allocations: 361.6 kB / 0.4979 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.3563, allocations: 0.671 MB / 0.4985 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.3626, allocations: 4.237 MB / 0.5027 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3626, allocations: 0 / 0.5027 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3626, allocations: 0 / 0.5027 GB, free: 29.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.3626, allocations: 7.125 kB / 0.5027 GB, free: 29.25 MB / 446.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.002887/0.3655, allocations: 2.043 MB / 0.5047 GB, free: 28.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3655, allocations: 12.22 kB / 0.5047 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.3669, allocations: 379.7 kB / 0.505 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.3679, allocations: 0.7041 MB / 0.5057 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.3679, allocations: 94 kB / 0.5058 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.3681, allocations: 134.4 kB / 0.5059 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.3701, allocations: 1.778 MB / 0.5077 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.3701, allocations: 3.938 kB / 0.5077 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3702, allocations: 49 kB / 0.5077 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.3703, allocations: 37.09 kB / 0.5078 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.3731, allocations: 2.492 MB / 0.5102 GB, free: 25.84 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.00642/0.3795, allocations: 4.182 MB / 0.5143 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.3825, allocations: 1.831 MB / 0.5161 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.3832, allocations: 494.6 kB / 0.5165 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005361/0.3886, allocations: 2.69 MB / 0.5192 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3886, allocations: 42.81 kB / 0.5192 GB, free: 21.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.776e-06/0.3886, allocations: 0 / 0.5192 GB, free: 21.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01358/0.4022, allocations: 3.227 MB / 0.5224 GB, free: 20.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.4022, allocations: 65.67 kB / 0.5224 GB, free: 20.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4036, allocations: 1.284 MB / 0.5237 GB, free: 19.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.4037, allocations: 41.33 kB / 0.5237 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.404, allocations: 0.7053 MB / 0.5244 GB, free: 19.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.4042, allocations: 341.1 kB / 0.5247 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.4045, allocations: 293.6 kB / 0.525 GB, free: 18.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.4046, allocations: 349.1 kB / 0.5253 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.4053, allocations: 0.5209 MB / 0.5258 GB, free: 18.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4063, allocations: 1.014 MB / 0.5268 GB, free: 17.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4079, allocations: 1.455 MB / 0.5283 GB, free: 16.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.4079, allocations: 8.219 kB / 0.5283 GB, free: 16.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004375/0.4123, allocations: 1.919 MB / 0.5301 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4123, allocations: 12.14 kB / 0.5302 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.4123, allocations: 15.91 kB / 0.5302 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.4142, allocations: 253.5 kB / 0.5304 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4153, allocations: 348 kB / 0.5307 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.42, allocations: 3.591 MB / 0.5342 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/0.421, allocations: 52.81 kB / 0.5343 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.4211, allocations: 80.78 kB / 0.5344 GB, free: 12.37 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.0005553/0.4217, allocations: 291.6 kB / 0.5347 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.422, allocations: 106.8 kB / 0.5348 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.4257, allocations: 1.246 MB / 0.536 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4257, allocations: 14.23 kB / 0.536 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4257, allocations: 1.375 kB / 0.536 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4258, allocations: 8.859 kB / 0.536 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.427, allocations: 0.8112 MB / 0.5368 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.427, allocations: 1.406 kB / 0.5368 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.4277, allocations: 176.8 kB / 0.537 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.4295, allocations: 230.5 kB / 0.5372 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.4296, allocations: 34.31 kB / 0.5372 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.4336, allocations: 3.484 MB / 0.5406 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4336, allocations: 1.25 kB / 0.5406 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.4374, allocations: 1.595 MB / 0.5422 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.4376, allocations: 91.03 kB / 0.5423 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4377, allocations: 26.12 kB / 0.5423 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.4383, allocations: 22.27 kB / 0.5423 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.4384, allocations: 77.39 kB / 0.5424 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.4385, allocations: 41.91 kB / 0.5424 GB, free: 7.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008346/0.4393, allocations: 0.8834 MB / 0.5433 GB, free: 6.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4393, allocations: 0 / 0.5433 GB, free: 6.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002289/0.4416, allocations: 0.8488 MB / 0.5441 GB, free: 6.438 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.00193/0.4436, allocations: 1.034 MB / 0.5451 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.4456, allocations: 1.364 MB / 0.5465 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4456, allocations: 0 / 0.5465 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.4464, allocations: 0.6439 MB / 0.5471 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.4474, allocations: 221.4 kB / 0.5473 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.4503, allocations: 2.129 MB / 0.5494 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4507, allocations: 0.4924 MB / 0.5499 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007994/0.4515, allocations: 251 kB / 0.5501 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.4519, allocations: 173.9 kB / 0.5503 GB, free: 1.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4519, allocations: 0 / 0.5503 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Templates: time 0.04489/0.4967, allocations: 28.63 MB / 0.5782 GB, free: 6.418 MB / 478.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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.540814940002747] Failed to read output from testmodel.py, exit status != 0: 0.5052947059739381 0.519156563 0.153484631 Calling exit ...