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.001684/0.001684, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.00201/0.00201, allocations: 213 kB / 22.99 MB, free: 4.953 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1439/0.1439, allocations: 23.88 MB / 337.1 MB, free: 11.08 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.002042/0.002042, allocations: 75.89 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3795, allocations: 59.85 MB / 0.5197 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007296/0.3868, allocations: 6.271 MB / 0.5259 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02485/0.4117, allocations: 19.19 MB / 0.5446 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.4131, allocations: 21.44 kB / 0.5446 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.4146, allocations: 409.3 kB / 0.545 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.4207, allocations: 1.631 MB / 0.5466 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009369/0.4301, allocations: 2.85 MB / 0.5494 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003401/0.4335, allocations: 1.832 MB / 0.5512 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.4348, allocations: 0.7681 MB / 0.5519 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.4363, allocations: 0.8719 MB / 0.5528 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.438, allocations: 0.9545 MB / 0.5537 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.4383, allocations: 152.6 kB / 0.5539 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007909/0.4462, allocations: 2.257 MB / 0.5561 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007237/0.4469, allocations: 363.9 kB / 0.5564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.4482, allocations: 0.6695 MB / 0.5571 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4597, allocations: 4.238 MB / 0.5612 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4597, allocations: 1.375 kB / 0.5612 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4597, allocations: 0 / 0.5612 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.839e-05/0.4597, allocations: 0 / 0.5612 GB, free: 15.09 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.004589/0.4643, allocations: 2.055 MB / 0.5632 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4644, allocations: 12.03 kB / 0.5632 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.4661, allocations: 391.3 kB / 0.5636 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4677, allocations: 0.6925 MB / 0.5643 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.4678, allocations: 94.84 kB / 0.5644 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.468, allocations: 128.3 kB / 0.5645 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.471, allocations: 1.783 MB / 0.5662 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.471, allocations: 3.938 kB / 0.5662 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.4712, allocations: 52 kB / 0.5663 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.4712, allocations: 28 kB / 0.5663 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.475, allocations: 2.5 MB / 0.5687 GB, free: 7.406 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.008924/0.484, allocations: 4.18 MB / 0.5728 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.4875, allocations: 1.839 MB / 0.5746 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.4884, allocations: 497.6 kB / 0.5751 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006774/0.4952, allocations: 2.696 MB / 0.5777 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.4952, allocations: 43.22 kB / 0.5778 GB, free: 14.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 4.839e-06/0.4952, allocations: 3.984 kB / 0.5778 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01425/0.5095, allocations: 3.239 MB / 0.5809 GB, free: 10.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5095, allocations: 60.41 kB / 0.581 GB, free: 10.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.5113, allocations: 1.286 MB / 0.5823 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.5114, allocations: 45.7 kB / 0.5823 GB, free: 9.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.512, allocations: 0.6983 MB / 0.583 GB, free: 8.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.5123, allocations: 337.2 kB / 0.5833 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/0.5127, allocations: 291.4 kB / 0.5836 GB, free: 8.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.5129, allocations: 353.9 kB / 0.5839 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.5138, allocations: 0.5232 MB / 0.5844 GB, free: 7.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.5151, allocations: 1.008 MB / 0.5854 GB, free: 5.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.5173, allocations: 1.453 MB / 0.5868 GB, free: 4.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.5173, allocations: 8 kB / 0.5868 GB, free: 4.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004757/0.522, allocations: 1.92 MB / 0.5887 GB, free: 2.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.5221, allocations: 12 kB / 0.5887 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.5221, allocations: 16 kB / 0.5887 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.524, allocations: 249.5 kB / 0.589 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.5252, allocations: 347.5 kB / 0.5893 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.531, allocations: 3.593 MB / 0.5928 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5322, allocations: 48 kB / 0.5929 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5324, allocations: 83.97 kB / 0.5929 GB, free: 13.77 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.0005696/0.533, allocations: 289.3 kB / 0.5932 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.5332, allocations: 103.3 kB / 0.5933 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.5372, allocations: 1.248 MB / 0.5945 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5372, allocations: 8 kB / 0.5945 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5372, allocations: 8 kB / 0.5946 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5372, allocations: 7.922 kB / 0.5946 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.5388, allocations: 0.812 MB / 0.5954 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5388, allocations: 4 kB / 0.5954 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.5395, allocations: 175.7 kB / 0.5955 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.5413, allocations: 237.7 kB / 0.5957 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.5413, allocations: 27.98 kB / 0.5958 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.5465, allocations: 3.484 MB / 0.5992 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5465, allocations: 0 / 0.5992 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.5508, allocations: 1.596 MB / 0.6007 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.5512, allocations: 91.39 kB / 0.6008 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.5513, allocations: 23.94 kB / 0.6008 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.5518, allocations: 23.98 kB / 0.6009 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.552, allocations: 76.86 kB / 0.6009 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.5521, allocations: 39.98 kB / 0.601 GB, free: 5.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.5532, allocations: 0.8856 MB / 0.6018 GB, free: 4.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5532, allocations: 0 / 0.6018 GB, free: 4.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002839/0.5561, allocations: 0.8452 MB / 0.6027 GB, free: 3.5 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.002258/0.5583, allocations: 1.039 MB / 0.6037 GB, free: 2.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.5609, allocations: 1.356 MB / 0.605 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.561, allocations: 0 / 0.605 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.562, allocations: 0.6444 MB / 0.6056 GB, free: 412 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5634, allocations: 228.9 kB / 0.6059 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.5675, allocations: 2.178 MB / 0.608 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5681, allocations: 0.4922 MB / 0.6085 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.5686, allocations: 214.8 kB / 0.6087 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5687, allocations: 7.938 kB / 0.6087 GB, free: 13.21 MB / 462.1 MB Notification: Performance of Templates: time 0.04702/0.6157, allocations: 32.12 MB / 0.64 GB, free: 13.17 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: 10.311156867013779] Failed to read output from testmodel.py, exit status != 0: 0.625289580959361 0.640899339 0.177546422 Calling exit ...