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.001702/0.001702, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.002166/0.002166, allocations: 211.2 kB / 23 MB, free: 4.934 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.781 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.1326/0.1326, 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.00211/0.00211, allocations: 71.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 59.86 MB / 0.5198 GB, free: 9.762 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.07593/0.3996, allocations: 29.28 MB / 0.5484 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03285/0.4324, allocations: 23.05 MB / 0.5709 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.4346, allocations: 31.75 kB / 0.5709 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.4364, allocations: 0.5504 MB / 0.5715 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.4434, allocations: 2.161 MB / 0.5736 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.4537, allocations: 3.577 MB / 0.5771 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009521/0.4633, allocations: 7.398 MB / 0.5843 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006116/0.4694, allocations: 4.343 MB / 0.5885 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007804/0.4772, allocations: 4.959 MB / 0.5934 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008253/0.4854, allocations: 4.768 MB / 0.598 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.4876, allocations: 0.6719 MB / 0.5987 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009541/0.4972, allocations: 3.265 MB / 0.6019 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.5001, allocations: 1.8 MB / 0.6036 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005453/0.5056, allocations: 2.9 MB / 0.6065 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01988/0.5255, allocations: 11.63 MB / 0.6178 GB, free: 5.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.453e-06/0.5255, allocations: 4 kB / 0.6178 GB, free: 5.223 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5255, allocations: 8 kB / 0.6178 GB, free: 5.215 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.5257, allocations: 0 / 0.6178 GB, free: 5.215 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.02025/0.546, allocations: 7.229 MB / 0.6249 GB, free: 13.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.546, allocations: 8.031 kB / 0.6249 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/0.5527, allocations: 1.241 MB / 0.6261 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009594/0.5623, allocations: 3.325 MB / 0.6294 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009627/0.5633, allocations: 1.003 MB / 0.6303 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.5658, allocations: 0.5002 MB / 0.6308 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.5861, allocations: 9.466 MB / 0.6401 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-05/0.5861, allocations: 4 kB / 0.6401 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007294/0.5869, allocations: 196 kB / 0.6403 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.901e-05/0.587, allocations: 116 kB / 0.6404 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/0.6107, allocations: 12.66 MB / 0.6527 GB, free: 1.059 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.06643/0.6771, allocations: 26.73 MB / 0.6788 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06169/0.7388, allocations: 26.13 MB / 0.7043 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008793/0.7476, allocations: 4.716 MB / 0.709 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03916/0.7867, allocations: 16.9 MB / 0.7255 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.7868, allocations: 73.03 kB / 0.7255 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005232/0.792, allocations: 1.247 MB / 0.7267 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.124e-05/0.7921, allocations: 0 / 0.7267 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3244/1.116, allocations: 24.17 MB / 0.7503 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.117, allocations: 89.36 kB / 0.7504 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/1.12, allocations: 2.842 MB / 0.7532 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009624/1.121, allocations: 87.38 kB / 0.7533 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.123, allocations: 2.223 MB / 0.7555 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.124, allocations: 1.358 MB / 0.7568 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002782/1.127, allocations: 0.985 MB / 0.7577 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.532e-05/1.127, allocations: 301.1 kB / 0.758 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/1.132, allocations: 2.963 MB / 0.7609 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/1.137, allocations: 4.49 MB / 0.7653 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009839/1.147, allocations: 7.816 MB / 0.7729 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/1.147, allocations: 13.72 kB / 0.773 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05969/1.207, allocations: 13.82 MB / 0.7865 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/1.207, allocations: 24 kB / 0.7865 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-05/1.207, allocations: 52 kB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009477/1.217, allocations: 3.467 MB / 0.7899 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005579/1.222, allocations: 1.27 MB / 0.7911 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0319/1.254, allocations: 17.87 MB / 0.8086 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/1.259, allocations: 250.4 kB / 0.8088 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.26, allocations: 279.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.003742/1.264, allocations: 1.443 MB / 0.8105 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/1.265, allocations: 353.6 kB / 0.8109 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03872/1.304, allocations: 9.625 MB / 0.8203 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001666/1.304, allocations: 19.92 kB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.304, allocations: 0 / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003684/1.308, allocations: 0.8998 MB / 0.8212 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.31, allocations: 94.22 kB / 0.8212 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/1.313, allocations: 167.8 kB / 0.8214 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002243/1.315, allocations: 0.8245 MB / 0.8222 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01611/1.331, allocations: 6.825 MB / 0.8289 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01399/1.345, allocations: 9.883 MB / 0.8385 GB, free: 92.27 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003584/1.349, allocations: 2.73 MB / 0.8412 GB, free: 89.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002653/1.352, allocations: 1.849 MB / 0.843 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of Backend: time 7.32e-07/1.352, allocations: 0 / 0.843 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01723/1.369, allocations: 6.205 MB / 0.8491 GB, free: 81.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01433/1.383, allocations: 9.223 MB / 0.8581 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.3419/1.725, allocations: 106.9 MB / 0.9624 GB, free: 197.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 sys.exit(0), Time elapsed: 28.965761621002457] Failed to read output from testmodel.py, exit status != 0: 1.7348150350007927 1.746308717 1.218102143 Calling exit ...