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.00133/0.00133, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.001413/0.001413, allocations: 161.8 kB / 23.01 MB, free: 4.941 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.351/1.351, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.1258/0.1258, allocations: 17.36 MB / 277.1 MB, free: 15.25 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.002159/0.002159, allocations: 67.89 kB / 412.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 59.84 MB / 472.3 MB, free: 9.746 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008722/0.1169, allocations: 6.261 MB / 478.5 MB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2118/0.3288, allocations: 19.18 MB / 497.7 MB, free: 37.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007373/0.3295, allocations: 21.69 kB / 497.7 MB, free: 37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.3305, allocations: 407.6 kB / 498.1 MB, free: 36.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.3339, allocations: 1.632 MB / 499.8 MB, free: 35.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.3396, allocations: 2.858 MB / 0.4908 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3412, allocations: 1.819 MB / 0.4926 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.3419, allocations: 0.756 MB / 0.4934 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.3426, allocations: 0.8743 MB / 0.4942 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009267/0.3435, allocations: 0.8543 MB / 0.4951 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.3437, allocations: 151.7 kB / 0.4952 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.3486, allocations: 2.203 MB / 0.4973 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.3489, allocations: 360.9 kB / 0.4977 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.3494, allocations: 0.6692 MB / 0.4983 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005969/0.3554, allocations: 4.241 MB / 0.5025 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3554, allocations: 0 / 0.5025 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3554, allocations: 0 / 0.5025 GB, free: 29.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3554, allocations: 4 kB / 0.5025 GB, free: 29.41 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.002853/0.3583, allocations: 2.042 MB / 0.5045 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3583, allocations: 14.09 kB / 0.5045 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.3597, allocations: 388.6 kB / 0.5049 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.3607, allocations: 0.7006 MB / 0.5056 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.3607, allocations: 92.88 kB / 0.5056 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3609, allocations: 129.5 kB / 0.5058 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.3629, allocations: 1.786 MB / 0.5075 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.3629, allocations: 3.938 kB / 0.5075 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.363, allocations: 49.34 kB / 0.5076 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.363, allocations: 37.28 kB / 0.5076 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.3659, allocations: 2.491 MB / 0.51 GB, free: 26 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.006235/0.3721, allocations: 4.182 MB / 0.5141 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.375, allocations: 1.835 MB / 0.5159 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.3757, allocations: 0.4893 MB / 0.5164 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005033/0.3807, allocations: 2.682 MB / 0.519 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.3807, allocations: 44.3 kB / 0.519 GB, free: 21.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.3807, allocations: 0 / 0.519 GB, free: 21.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01367/0.3944, allocations: 3.229 MB / 0.5222 GB, free: 20.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3944, allocations: 62.62 kB / 0.5223 GB, free: 20.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3958, allocations: 1.291 MB / 0.5235 GB, free: 19.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.3958, allocations: 41.64 kB / 0.5236 GB, free: 19.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.3961, allocations: 0.7094 MB / 0.5243 GB, free: 19.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3963, allocations: 336.4 kB / 0.5246 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/0.3967, allocations: 287 kB / 0.5248 GB, free: 18.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.3967, allocations: 352.6 kB / 0.5252 GB, free: 18.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.3974, allocations: 0.5238 MB / 0.5257 GB, free: 18.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.3984, allocations: 1.011 MB / 0.5267 GB, free: 17.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.3999, allocations: 1.449 MB / 0.5281 GB, free: 16.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.3999, allocations: 8.406 kB / 0.5281 GB, free: 16.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004291/0.4042, allocations: 1.926 MB / 0.53 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4042, allocations: 13.23 kB / 0.53 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4043, allocations: 15.31 kB / 0.53 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/0.4062, allocations: 251.1 kB / 0.5303 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4072, allocations: 352.3 kB / 0.5306 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.4117, allocations: 3.59 MB / 0.5341 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009912/0.4127, allocations: 53.14 kB / 0.5341 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.4128, allocations: 80.95 kB / 0.5342 GB, free: 12.52 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.0004374/0.4133, allocations: 291.9 kB / 0.5345 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.4135, allocations: 107 kB / 0.5346 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.417, allocations: 1.239 MB / 0.5358 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.417, allocations: 13.47 kB / 0.5358 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.417, allocations: 1.219 kB / 0.5358 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.417, allocations: 9.047 kB / 0.5358 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.4181, allocations: 0.8162 MB / 0.5366 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4182, allocations: 1.25 kB / 0.5366 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.4188, allocations: 176.3 kB / 0.5368 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.4206, allocations: 227.3 kB / 0.537 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.4207, allocations: 34.94 kB / 0.5371 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.4246, allocations: 3.483 MB / 0.5405 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4246, allocations: 1.625 kB / 0.5405 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.4282, allocations: 1.596 MB / 0.542 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.4284, allocations: 90.5 kB / 0.5421 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4286, allocations: 22.92 kB / 0.5421 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.4291, allocations: 18.7 kB / 0.5421 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.4292, allocations: 84.56 kB / 0.5422 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.4293, allocations: 33.92 kB / 0.5423 GB, free: 7.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007547/0.43, allocations: 0.8855 MB / 0.5431 GB, free: 6.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.43, allocations: 0 / 0.5431 GB, free: 6.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002209/0.4323, allocations: 0.8493 MB / 0.5439 GB, free: 6.598 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.001612/0.4339, allocations: 1.035 MB / 0.545 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.4358, allocations: 1.363 MB / 0.5463 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4358, allocations: 0 / 0.5463 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007626/0.4366, allocations: 0.6523 MB / 0.5469 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/0.4375, allocations: 217.4 kB / 0.5471 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4401, allocations: 2.138 MB / 0.5492 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4405, allocations: 496.4 kB / 0.5497 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007292/0.4412, allocations: 253.2 kB / 0.5499 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.4415, allocations: 169.9 kB / 0.5501 GB, free: 1.539 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4415, allocations: 0 / 0.5501 GB, free: 1.539 MB / 446.1 MB Notification: Performance of Templates: time 0.04521/0.4867, allocations: 28.63 MB / 0.5781 GB, free: 6.668 MB / 478.1 MB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.521917426027358] Failed to read output from testmodel.py, exit status != 0: 0.4957231070147827 0.5094367559999999 0.15103668 Calling exit ...