Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00127/0.00127, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001448/0.001448, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.354/1.354, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1263/0.1263, allocations: 17.44 MB / 277.2 MB, free: 15.2 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_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_master_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.00205/0.00205, allocations: 63.91 kB / 412.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1026, allocations: 59.88 MB / 472.5 MB, free: 9.559 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.2654/0.368, allocations: 29.42 MB / 0.4901 GB, free: 38.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.3886, allocations: 23.04 MB / 0.5126 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.3898, allocations: 36.16 kB / 0.5127 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.3912, allocations: 0.546 MB / 0.5132 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005343/0.3965, allocations: 2.165 MB / 0.5153 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008753/0.4053, allocations: 3.581 MB / 0.5188 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006899/0.4122, allocations: 7.401 MB / 0.526 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/0.4168, allocations: 4.312 MB / 0.5303 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006423/0.4233, allocations: 4.965 MB / 0.5351 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00838/0.4316, allocations: 4.954 MB / 0.5399 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.4339, allocations: 0.6758 MB / 0.5406 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009888/0.4438, allocations: 3.181 MB / 0.5437 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002907/0.4467, allocations: 1.81 MB / 0.5455 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005757/0.4524, allocations: 2.903 MB / 0.5483 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.4711, allocations: 11.63 MB / 0.5597 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4711, allocations: 0 / 0.5597 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4711, allocations: 0 / 0.5597 GB, free: 10.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002734/0.4714, allocations: 0 / 0.5597 GB, free: 10.44 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.01997/0.4913, allocations: 7.249 MB / 0.5667 GB, free: 3.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4914, allocations: 12.03 kB / 0.5668 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00588/0.4973, allocations: 1.234 MB / 0.568 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007337/0.5046, allocations: 3.321 MB / 0.5712 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008101/0.5054, allocations: 1.007 MB / 0.5722 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.5068, allocations: 0.4963 MB / 0.5727 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.5244, allocations: 9.462 MB / 0.5819 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-05/0.5245, allocations: 0 / 0.5819 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006784/0.5252, allocations: 192 kB / 0.5821 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-05/0.5253, allocations: 116 kB / 0.5822 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.5483, allocations: 12.66 MB / 0.5946 GB, free: 6.285 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.06305/0.6113, allocations: 26.74 MB / 0.6207 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05888/0.6702, allocations: 26.12 MB / 0.6462 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00928/0.6795, allocations: 4.712 MB / 0.6508 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04234/0.7218, allocations: 16.91 MB / 0.6673 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.072e-05/0.7219, allocations: 69.09 kB / 0.6674 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005524/0.7274, allocations: 1.25 MB / 0.6686 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.875e-05/0.7275, allocations: 8 kB / 0.6686 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.1016/0.8291, allocations: 24.18 MB / 0.6922 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.8291, allocations: 90.36 kB / 0.6923 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2274/1.056, allocations: 2.832 MB / 0.6951 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009959/1.057, allocations: 88.86 kB / 0.6952 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.059, allocations: 2.225 MB / 0.6973 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.06, allocations: 1.363 MB / 0.6987 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/1.061, allocations: 0.9791 MB / 0.6996 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.625e-05/1.061, allocations: 301.1 kB / 0.6999 GB, free: 169 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/1.065, allocations: 2.963 MB / 0.7028 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/1.069, allocations: 4.493 MB / 0.7072 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009198/1.078, allocations: 7.818 MB / 0.7148 GB, free: 161 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/1.078, allocations: 12.88 kB / 0.7148 GB, free: 161 MB / 0.5762 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05599/1.134, allocations: 13.8 MB / 0.7283 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/1.134, allocations: 26.81 kB / 0.7283 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.345e-05/1.134, allocations: 49.17 kB / 0.7284 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009507/1.144, allocations: 3.47 MB / 0.7318 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/1.15, allocations: 1.269 MB / 0.733 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03219/1.182, allocations: 17.88 MB / 0.7505 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.186, allocations: 254.8 kB / 0.7507 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.188, allocations: 280.2 kB / 0.751 GB, free: 149.3 MB / 0.5762 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.00324/1.191, allocations: 1.445 MB / 0.7524 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009803/1.192, allocations: 355.1 kB / 0.7527 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/1.225, allocations: 9.62 MB / 0.7621 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/1.225, allocations: 40.34 kB / 0.7622 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.225, allocations: 6.219 kB / 0.7622 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/1.225, allocations: 19.92 kB / 0.7622 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04006/1.265, allocations: 14.35 MB / 0.7762 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/1.265, allocations: 4 kB / 0.7762 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004225/1.27, allocations: 0.8497 MB / 0.777 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/1.275, allocations: 2.124 MB / 0.7791 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007342/1.276, allocations: 143.9 kB / 0.7792 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/1.294, allocations: 12.11 MB / 0.7911 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.294, allocations: 4 kB / 0.7911 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03544/1.33, allocations: 12.93 MB / 0.8037 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/1.332, allocations: 0.9085 MB / 0.8046 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/1.332, allocations: 95.95 kB / 0.8047 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.334, allocations: 168.8 kB / 0.8048 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008834/1.335, allocations: 470.2 kB / 0.8053 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.336, allocations: 139.9 kB / 0.8054 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001842/1.337, allocations: 1.851 MB / 0.8072 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.337, allocations: 0 / 0.8072 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005527/1.343, allocations: 2.058 MB / 0.8092 GB, free: 97.96 MB / 0.5762 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.002015/1.345, allocations: 1.329 MB / 0.8105 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.356, allocations: 7.071 MB / 0.8174 GB, free: 89.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.356, allocations: 0 / 0.8174 GB, free: 89.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006102/1.362, allocations: 3.774 MB / 0.8211 GB, free: 86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.365, allocations: 0.7727 MB / 0.8219 GB, free: 85.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.38, allocations: 10.98 MB / 0.8326 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/1.382, allocations: 2.781 MB / 0.8353 GB, free: 71.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003559/1.386, allocations: 1.57 MB / 0.8369 GB, free: 70.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.387, allocations: 460.9 kB / 0.8373 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/1.387, allocations: 0 / 0.8373 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.3197/1.706, allocations: 91.95 MB / 0.9271 GB, free: 174.6 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.053318543010391] Failed to read output from testmodel.py, exit status != 0: 1.7149361270712689 1.723738943 1.250309198 Calling exit ...