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.001396/0.001396, 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.001478/0.001478, allocations: 213.4 kB / 22.99 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.455/1.455, 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.1382/0.1382, allocations: 23.89 MB / 337.1 MB, free: 10.98 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.002052/0.002052, allocations: 67.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 59.85 MB / 0.5198 GB, free: 9.754 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.07477/0.3799, allocations: 29.28 MB / 0.5484 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03355/0.4134, allocations: 23.05 MB / 0.5709 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.4157, allocations: 31.75 kB / 0.5709 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.4175, allocations: 0.5387 MB / 0.5714 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007485/0.425, allocations: 2.172 MB / 0.5736 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.4354, allocations: 3.574 MB / 0.577 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009392/0.4448, allocations: 7.398 MB / 0.5843 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006143/0.4509, allocations: 4.335 MB / 0.5885 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008325/0.4592, allocations: 4.967 MB / 0.5934 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008519/0.4677, allocations: 4.768 MB / 0.598 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002717/0.4705, allocations: 0.6758 MB / 0.5987 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.4811, allocations: 3.253 MB / 0.6019 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003801/0.4849, allocations: 1.804 MB / 0.6036 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006625/0.4915, allocations: 2.903 MB / 0.6064 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.513, allocations: 11.63 MB / 0.6178 GB, free: 5.238 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.513, allocations: 0 / 0.6178 GB, free: 5.238 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.513, allocations: 0 / 0.6178 GB, free: 5.238 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002774/0.5133, allocations: 0 / 0.6178 GB, free: 5.238 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.02173/0.535, allocations: 7.237 MB / 0.6249 GB, free: 13.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5351, allocations: 11.97 kB / 0.6249 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00721/0.5423, allocations: 1.245 MB / 0.6261 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009659/0.5519, allocations: 3.313 MB / 0.6293 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.5529, allocations: 0.999 MB / 0.6303 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/0.5554, allocations: 0.5002 MB / 0.6308 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.5767, allocations: 9.474 MB / 0.6401 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.596e-05/0.5768, allocations: 0 / 0.6401 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009172/0.5777, allocations: 196 kB / 0.6402 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.5779, allocations: 116 kB / 0.6404 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.6055, allocations: 12.66 MB / 0.6527 GB, free: 1.078 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.06554/0.671, allocations: 26.73 MB / 0.6788 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0612/0.7322, allocations: 26.12 MB / 0.7043 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009108/0.7413, allocations: 4.72 MB / 0.7089 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03968/0.781, allocations: 16.9 MB / 0.7254 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.7811, allocations: 69.11 kB / 0.7255 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005105/0.7862, allocations: 1.247 MB / 0.7267 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.215e-05/0.7862, allocations: 0 / 0.7267 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3255/1.112, allocations: 24.16 MB / 0.7503 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.112, allocations: 90.8 kB / 0.7504 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/1.116, allocations: 2.84 MB / 0.7532 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009652/1.117, allocations: 90.05 kB / 0.7533 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.118, allocations: 2.223 MB / 0.7554 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.119, allocations: 1.363 MB / 0.7568 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/1.121, allocations: 0.979 MB / 0.7577 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.668e-05/1.121, allocations: 305.4 kB / 0.758 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/1.125, allocations: 2.964 MB / 0.7609 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/1.13, allocations: 4.488 MB / 0.7653 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/1.139, allocations: 7.814 MB / 0.7729 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/1.139, allocations: 11.69 kB / 0.7729 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05726/1.196, allocations: 13.82 MB / 0.7864 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/1.196, allocations: 30.66 kB / 0.7865 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.177e-05/1.196, allocations: 48 kB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008373/1.205, allocations: 3.473 MB / 0.7899 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/1.21, allocations: 1.27 MB / 0.7911 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02953/1.24, allocations: 17.87 MB / 0.8086 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/1.244, allocations: 250.4 kB / 0.8088 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000718/1.245, allocations: 283.8 kB / 0.8091 GB, free: 122.3 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.002456/1.248, allocations: 1.447 MB / 0.8105 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008817/1.248, allocations: 353.6 kB / 0.8109 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03546/1.284, allocations: 9.612 MB / 0.8202 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/1.284, allocations: 40 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.284, allocations: 4 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/1.284, allocations: 22.17 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04381/1.328, allocations: 14.36 MB / 0.8343 GB, free: 96.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/1.328, allocations: 4 kB / 0.8343 GB, free: 96.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004325/1.332, allocations: 0.8489 MB / 0.8352 GB, free: 95.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005799/1.338, allocations: 2.127 MB / 0.8372 GB, free: 93.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007545/1.339, allocations: 150.5 kB / 0.8374 GB, free: 93.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.36, allocations: 12.1 MB / 0.8492 GB, free: 81.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.36, allocations: 7.938 kB / 0.8492 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03876/1.399, allocations: 12.93 MB / 0.8618 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002912/1.401, allocations: 0.905 MB / 0.8627 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008188/1.402, allocations: 95.97 kB / 0.8628 GB, free: 67.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.405, allocations: 162.5 kB / 0.863 GB, free: 67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.406, allocations: 474.2 kB / 0.8634 GB, free: 66.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003215/1.406, allocations: 146.7 kB / 0.8635 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002147/1.408, allocations: 1.847 MB / 0.8653 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.408, allocations: 0 / 0.8653 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006281/1.415, allocations: 2.061 MB / 0.8674 GB, free: 62.53 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.002133/1.417, allocations: 1.32 MB / 0.8687 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.428, allocations: 7.073 MB / 0.8756 GB, free: 54.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.428, allocations: 4 kB / 0.8756 GB, free: 54.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006764/1.435, allocations: 3.77 MB / 0.8792 GB, free: 50.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.439, allocations: 0.7626 MB / 0.88 GB, free: 49.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.455, allocations: 10.99 MB / 0.8907 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/1.457, allocations: 2.789 MB / 0.8934 GB, free: 36.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003707/1.461, allocations: 1.564 MB / 0.895 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.462, allocations: 453.8 kB / 0.8954 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.462, allocations: 0 / 0.8954 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.3691/1.831, allocations: 100.1 MB / 0.9931 GB, free: 181.1 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.310595988004934] Failed to read output from testmodel.py, exit status != 0: 1.839630158006912 1.852333288 1.3352010810000001 Calling exit ...