Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.001483/0.001483, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001521/0.001521, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.1512/0.1512, allocations: 23.85 MB / 332.7 MB, free: 12.36 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.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [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.002087/0.002087, allocations: 67.91 kB / 466.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 59.81 MB / 0.514 GB, free: 9.145 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.04698/0.374, allocations: 30.22 MB / 0.5435 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03653/0.4105, allocations: 26.22 MB / 0.5691 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.4126, allocations: 31.75 kB / 0.5691 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.4145, allocations: 0.6006 MB / 0.5697 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007234/0.4217, allocations: 2.165 MB / 0.5718 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.4328, allocations: 3.546 MB / 0.5753 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00999/0.4428, allocations: 7.406 MB / 0.5825 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006968/0.4497, allocations: 5.128 MB / 0.5875 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007724/0.4575, allocations: 4.967 MB / 0.5924 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008913/0.4664, allocations: 4.752 MB / 0.597 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.469, allocations: 0.6797 MB / 0.5977 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.4805, allocations: 3.363 MB / 0.601 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003715/0.4843, allocations: 1.816 MB / 0.6027 GB, free: 128 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007051/0.4913, allocations: 3.346 MB / 0.606 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.5153, allocations: 11.62 MB / 0.6173 GB, free: 1.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5153, allocations: 7.938 kB / 0.6174 GB, free: 1.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5153, allocations: 0 / 0.6174 GB, free: 1.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.5156, allocations: 4 kB / 0.6174 GB, free: 1.094 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.02316/0.5388, allocations: 7.307 MB / 0.6245 GB, free: 9.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5389, allocations: 12.03 kB / 0.6245 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.5465, allocations: 1.238 MB / 0.6257 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007942/0.5545, allocations: 3.28 MB / 0.6289 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007575/0.5552, allocations: 0.6766 MB / 0.6296 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.5574, allocations: 0.4963 MB / 0.6301 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.5789, allocations: 9.45 MB / 0.6393 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-05/0.579, allocations: 7.938 kB / 0.6393 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008999/0.5799, allocations: 196 kB / 0.6395 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.58, allocations: 119.9 kB / 0.6396 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/0.6058, allocations: 12.74 MB / 0.652 GB, free: 13.21 MB / 0.4981 GB 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.08393/0.6897, allocations: 30.61 MB / 0.6819 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0969/0.7866, allocations: 40.96 MB / 0.7219 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2579/1.045, allocations: 4.719 MB / 0.7265 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05428/1.099, allocations: 21.23 MB / 0.7473 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.099, allocations: 71.7 kB / 0.7473 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009379/1.108, allocations: 1.273 MB / 0.7486 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 4.096e-05/1.108, allocations: 2.656 kB / 0.7486 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.09904/1.207, allocations: 24.4 MB / 0.7724 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.207, allocations: 102.9 kB / 0.7725 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/1.211, allocations: 2.964 MB / 0.7754 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.212, allocations: 84.7 kB / 0.7755 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.213, allocations: 2.223 MB / 0.7777 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/1.215, allocations: 1.363 MB / 0.779 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/1.216, allocations: 0.9848 MB / 0.78 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/1.216, allocations: 303.8 kB / 0.7802 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/1.22, allocations: 2.96 MB / 0.7831 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/1.224, allocations: 4.477 MB / 0.7875 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009189/1.233, allocations: 7.808 MB / 0.7951 GB, free: 129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.105e-05/1.233, allocations: 12 kB / 0.7951 GB, free: 129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05718/1.29, allocations: 13.81 MB / 0.8086 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/1.291, allocations: 30.66 kB / 0.8087 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/1.291, allocations: 51.94 kB / 0.8087 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008603/1.299, allocations: 3.473 MB / 0.8121 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005568/1.305, allocations: 1.273 MB / 0.8133 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03018/1.335, allocations: 18.43 MB / 0.8313 GB, free: 91.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.339, allocations: 251.8 kB / 0.8316 GB, free: 91.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009986/1.34, allocations: 283.8 kB / 0.8319 GB, free: 91.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * 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 (599): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002714/1.343, allocations: 1.454 MB / 0.8333 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009874/1.344, allocations: 361.6 kB / 0.8336 GB, free: 89.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/1.38, allocations: 9.631 MB / 0.843 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/1.38, allocations: 49.69 kB / 0.8431 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.38, allocations: 4 kB / 0.8431 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/1.38, allocations: 19.92 kB / 0.8431 GB, free: 79.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04351/1.424, allocations: 15.43 MB / 0.8582 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.424, allocations: 4 kB / 0.8582 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004642/1.428, allocations: 0.849 MB / 0.859 GB, free: 63.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005948/1.434, allocations: 2.124 MB / 0.8611 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008375/1.435, allocations: 138.6 kB / 0.8612 GB, free: 61.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.456, allocations: 12.64 MB / 0.8735 GB, free: 48.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.456, allocations: 7.938 kB / 0.8735 GB, free: 48.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03974/1.496, allocations: 12.96 MB / 0.8862 GB, free: 35.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.498, allocations: 0.9475 MB / 0.8871 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/1.499, allocations: 91.97 kB / 0.8872 GB, free: 34.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/1.502, allocations: 163.8 kB / 0.8874 GB, free: 34.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.503, allocations: 458.2 kB / 0.8878 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/1.503, allocations: 143.8 kB / 0.8879 GB, free: 33.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002103/1.505, allocations: 1.992 MB / 0.8899 GB, free: 31.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.505, allocations: 0 / 0.8899 GB, free: 31.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005686/1.511, allocations: 2.063 MB / 0.8919 GB, free: 29.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 19 (solution.temperature,OxyRHm[1].logn,OxyRHm[2].logn,OxyRHm[3].logn,OxyRHm[4].logn,DeoxyRHm[1].logn,DeoxyRHm[2].logn,DeoxyRHm[3].logn,DeoxyRHm[4].logn,OxyTHm[1].logn,OxyTHm[2].logn,OxyTHm[3].logn,OxyTHm[4].logn,DeoxyTHm[1].logn,DeoxyTHm[2].logn,DeoxyTHm[3].logn,DeoxyTHm[4].logn,oxygen_unbound.logn,H2O.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 (408): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (9,4,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.002085/1.513, allocations: 1.331 MB / 0.8932 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.525, allocations: 7.065 MB / 0.9001 GB, free: 21.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.525, allocations: 3.938 kB / 0.9001 GB, free: 21.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006975/1.532, allocations: 3.769 MB / 0.9038 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/1.536, allocations: 0.758 MB / 0.9045 GB, free: 16.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.554, allocations: 10.98 MB / 0.9153 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/1.556, allocations: 3.307 MB / 0.9185 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0039/1.56, allocations: 1.579 MB / 0.92 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.561, allocations: 461.9 kB / 0.9205 GB, free: 408 kB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.561, allocations: 4 kB / 0.9205 GB, free: 404 kB / 0.5606 GB Notification: Performance of Templates: time 0.4059/1.967, allocations: 92.57 MB / 1.011 GB, free: 157.4 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.467867784202099] Failed to read output from testmodel.py, exit status != 0: 1.9764823652803898 1.984942602 1.467227703 Calling exit ...