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.00152/0.00152, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001728/0.001728, allocations: 220.8 kB / 22.25 MB, free: 5.102 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.82 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.13/0.13, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002084/0.002084, allocations: 67.88 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2704, allocations: 59.86 MB / 0.519 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006051/0.2765, allocations: 6.266 MB / 0.5251 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.2982, allocations: 19.19 MB / 0.5439 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.2992, allocations: 21.62 kB / 0.5439 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.3003, allocations: 411.4 kB / 0.5443 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.3043, allocations: 1.629 MB / 0.5459 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007358/0.3116, allocations: 2.854 MB / 0.5487 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.3139, allocations: 1.832 MB / 0.5504 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.315, allocations: 0.7731 MB / 0.5512 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3161, allocations: 0.8744 MB / 0.552 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.3174, allocations: 0.9599 MB / 0.553 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.3175, allocations: 152 kB / 0.5531 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/0.3229, allocations: 2.256 MB / 0.5553 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.3233, allocations: 365.4 kB / 0.5557 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009168/0.3242, allocations: 0.6686 MB / 0.5563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007331/0.3315, allocations: 4.238 MB / 0.5605 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3315, allocations: 1.219 kB / 0.5605 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3315, allocations: 0 / 0.5605 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.3316, allocations: 0 / 0.5605 GB, free: 15.16 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.00469/0.3363, allocations: 2.052 MB / 0.5625 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3363, allocations: 8.031 kB / 0.5625 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.3381, allocations: 391.3 kB / 0.5629 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.3396, allocations: 0.7002 MB / 0.5635 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.3397, allocations: 94.84 kB / 0.5636 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3399, allocations: 128.3 kB / 0.5638 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.3429, allocations: 1.779 MB / 0.5655 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3429, allocations: 0 / 0.5655 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.343, allocations: 52 kB / 0.5655 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.343, allocations: 28 kB / 0.5656 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.3469, allocations: 2.496 MB / 0.568 GB, free: 7.371 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.008448/0.3553, allocations: 4.176 MB / 0.5721 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.3589, allocations: 1.835 MB / 0.5739 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/0.3598, allocations: 494.7 kB / 0.5744 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006465/0.3662, allocations: 2.704 MB / 0.577 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3663, allocations: 39.22 kB / 0.577 GB, free: 14.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.405e-06/0.3663, allocations: 0 / 0.577 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01629/0.3826, allocations: 3.234 MB / 0.5802 GB, free: 10.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3826, allocations: 64.34 kB / 0.5802 GB, free: 10.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.3842, allocations: 1.286 MB / 0.5815 GB, free: 9.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.3843, allocations: 37.7 kB / 0.5815 GB, free: 9.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.3848, allocations: 0.71 MB / 0.5822 GB, free: 8.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.3851, allocations: 333.2 kB / 0.5826 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.3856, allocations: 295.4 kB / 0.5828 GB, free: 7.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3857, allocations: 353.9 kB / 0.5832 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.3866, allocations: 0.5231 MB / 0.5837 GB, free: 7.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.3879, allocations: 1.012 MB / 0.5847 GB, free: 5.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.3899, allocations: 1.449 MB / 0.5861 GB, free: 4.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.3899, allocations: 8 kB / 0.5861 GB, free: 4.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005032/0.395, allocations: 1.928 MB / 0.588 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.395, allocations: 12 kB / 0.588 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.395, allocations: 16 kB / 0.588 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.3973, allocations: 245.5 kB / 0.5882 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3984, allocations: 355.4 kB / 0.5886 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.4043, allocations: 3.589 MB / 0.5921 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.4053, allocations: 52.06 kB / 0.5921 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.4054, allocations: 79.97 kB / 0.5922 GB, free: 13.74 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.0004759/0.4059, allocations: 293.3 kB / 0.5925 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.4062, allocations: 103.3 kB / 0.5926 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.4104, allocations: 1.244 MB / 0.5938 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4104, allocations: 8 kB / 0.5938 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4104, allocations: 4 kB / 0.5938 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4104, allocations: 7.922 kB / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.4117, allocations: 0.812 MB / 0.5946 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4117, allocations: 0 / 0.5946 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.4124, allocations: 175.8 kB / 0.5948 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.4146, allocations: 233.6 kB / 0.595 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.4147, allocations: 27.98 kB / 0.595 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.4199, allocations: 3.496 MB / 0.5984 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4199, allocations: 0 / 0.5984 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.4243, allocations: 1.588 MB / 0.6 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.4246, allocations: 91.39 kB / 0.6001 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.4247, allocations: 23.94 kB / 0.6001 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.4253, allocations: 27.98 kB / 0.6001 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4254, allocations: 80.8 kB / 0.6002 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.4255, allocations: 35.98 kB / 0.6002 GB, free: 5.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.4265, allocations: 0.8856 MB / 0.6011 GB, free: 4.316 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 0.6011 GB, free: 4.316 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002325/0.4289, allocations: 0.8491 MB / 0.6019 GB, free: 3.465 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.002118/0.431, allocations: 1.024 MB / 0.6029 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.4333, allocations: 1.359 MB / 0.6043 GB, free: 1.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4333, allocations: 4 kB / 0.6043 GB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4343, allocations: 0.6414 MB / 0.6049 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4353, allocations: 225.9 kB / 0.6051 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.4388, allocations: 2.133 MB / 0.6072 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4394, allocations: 500 kB / 0.6077 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008169/0.4402, allocations: 259 kB / 0.6079 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.4406, allocations: 166.8 kB / 0.6081 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4406, allocations: 0 / 0.6081 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Templates: time 0.04742/0.488, allocations: 30.72 MB / 0.6381 GB, free: 14.53 MB / 494.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595946279820055] Failed to read output from testmodel.py, exit status != 0: 0.49656872265040874 0.5103273119999999 0.175822891 Calling exit ...