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.001304/0.001304, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001419/0.001419, allocations: 207.8 kB / 22.98 MB, free: 4.984 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1342/0.1342, allocations: 23.88 MB / 337.1 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.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.003064/0.003064, allocations: 71.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3361, allocations: 59.86 MB / 0.5198 GB, free: 9.82 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.06915/0.4052, allocations: 29.28 MB / 0.5484 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0306/0.4358, allocations: 23.05 MB / 0.5709 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.4377, allocations: 35.69 kB / 0.5709 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4393, allocations: 0.5504 MB / 0.5714 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.4457, allocations: 2.161 MB / 0.5736 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009727/0.4554, allocations: 3.581 MB / 0.577 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008483/0.4639, allocations: 7.398 MB / 0.5843 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006094/0.47, allocations: 4.335 MB / 0.5885 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007553/0.4776, allocations: 4.967 MB / 0.5934 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008446/0.486, allocations: 4.768 MB / 0.598 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.4883, allocations: 0.6719 MB / 0.5987 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009871/0.4982, allocations: 3.253 MB / 0.6018 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003683/0.5019, allocations: 1.812 MB / 0.6036 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006967/0.5089, allocations: 2.903 MB / 0.6065 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02212/0.531, allocations: 11.63 MB / 0.6178 GB, free: 5.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.531, allocations: 0 / 0.6178 GB, free: 5.188 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.531, allocations: 0 / 0.6178 GB, free: 5.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003307/0.5313, allocations: 7.938 kB / 0.6178 GB, free: 5.18 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.02213/0.5535, allocations: 7.229 MB / 0.6249 GB, free: 13.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5535, allocations: 12.03 kB / 0.6249 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007004/0.5605, allocations: 1.238 MB / 0.6261 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.571, allocations: 3.321 MB / 0.6293 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.572, allocations: 1.007 MB / 0.6303 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/0.5749, allocations: 0.4924 MB / 0.6308 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.5992, allocations: 9.47 MB / 0.64 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.5994, allocations: 4 kB / 0.6401 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001957/0.6014, allocations: 195.9 kB / 0.6402 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.6015, allocations: 116 kB / 0.6404 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0285/0.63, allocations: 12.67 MB / 0.6527 GB, free: 1.023 MB / 494.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.07022/0.7002, allocations: 26.72 MB / 0.6788 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06093/0.7611, allocations: 26.12 MB / 0.7043 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009863/0.771, allocations: 4.72 MB / 0.7089 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04697/0.818, allocations: 16.9 MB / 0.7254 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.384e-05/0.8181, allocations: 73.09 kB / 0.7255 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006046/0.8241, allocations: 1.25 MB / 0.7267 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 2.086e-05/0.8241, allocations: 0 / 0.7267 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3835/1.208, allocations: 24.16 MB / 0.7503 GB, free: 170 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.208, allocations: 91.33 kB / 0.7504 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/1.211, allocations: 2.833 MB / 0.7532 GB, free: 169 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008384/1.212, allocations: 91.33 kB / 0.7533 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.213, allocations: 2.231 MB / 0.7554 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.215, allocations: 1.358 MB / 0.7568 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/1.216, allocations: 0.9789 MB / 0.7577 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.739e-05/1.216, allocations: 302.2 kB / 0.758 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00411/1.22, allocations: 2.97 MB / 0.7609 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/1.225, allocations: 4.483 MB / 0.7653 GB, free: 161 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008444/1.233, allocations: 7.815 MB / 0.7729 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/1.233, allocations: 15 kB / 0.7729 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05332/1.287, allocations: 13.82 MB / 0.7864 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/1.287, allocations: 28 kB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/1.287, allocations: 48 kB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008059/1.295, allocations: 3.468 MB / 0.7899 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/1.3, allocations: 1.266 MB / 0.7911 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/1.329, allocations: 17.88 MB / 0.8086 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006278/1.336, allocations: 251.8 kB / 0.8088 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.337, allocations: 279.8 kB / 0.8091 GB, free: 122.2 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.004307/1.342, allocations: 1.453 MB / 0.8105 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.343, allocations: 350.8 kB / 0.8108 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/1.379, allocations: 9.612 MB / 0.8202 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/1.379, allocations: 42.39 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.379, allocations: 10.59 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/1.379, allocations: 23.92 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/1.424, allocations: 14.35 MB / 0.8343 GB, free: 96.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/1.424, allocations: 2.688 kB / 0.8343 GB, free: 96.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004445/1.428, allocations: 0.8529 MB / 0.8352 GB, free: 95.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/1.434, allocations: 2.125 MB / 0.8372 GB, free: 93.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/1.435, allocations: 139.9 kB / 0.8374 GB, free: 93.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/1.457, allocations: 12.1 MB / 0.8492 GB, free: 81.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.457, allocations: 7.938 kB / 0.8492 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0411/1.498, allocations: 12.94 MB / 0.8618 GB, free: 68.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/1.501, allocations: 0.9011 MB / 0.8627 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/1.503, allocations: 95.97 kB / 0.8628 GB, free: 67.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.507, allocations: 166.6 kB / 0.863 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/1.508, allocations: 472.9 kB / 0.8634 GB, free: 66.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007179/1.509, allocations: 147.9 kB / 0.8636 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002777/1.512, allocations: 1.847 MB / 0.8654 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.512, allocations: 0 / 0.8654 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008389/1.52, allocations: 2.06 MB / 0.8674 GB, free: 62.48 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.003338/1.524, allocations: 1.32 MB / 0.8687 GB, free: 61.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.538, allocations: 7.069 MB / 0.8756 GB, free: 54.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.538, allocations: 0 / 0.8756 GB, free: 54.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00816/1.546, allocations: 3.779 MB / 0.8792 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.551, allocations: 0.7584 MB / 0.88 GB, free: 49.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.574, allocations: 10.98 MB / 0.8907 GB, free: 38.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003951/1.578, allocations: 2.783 MB / 0.8934 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005057/1.583, allocations: 1.574 MB / 0.895 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.585, allocations: 443.2 kB / 0.8954 GB, free: 34.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.585, allocations: 8 kB / 0.8954 GB, free: 34.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.3758/1.961, allocations: 100.1 MB / 0.9931 GB, free: 181.2 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.478398708000896] Failed to read output from testmodel.py, exit status != 0: 1.972677924000891 1.981287678 1.447627799 Calling exit ...