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.00148/0.00148, allocations: 101.1 kB / 18.99 MB, free: 2.754 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.001484/0.001484, allocations: 214.9 kB / 22.29 MB, free: 5.16 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.485/1.485, allocations: 230.7 MB / 256.1 MB, free: 7.711 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.1499/0.1499, allocations: 23.89 MB / 336.4 MB, free: 10.89 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.002065/0.002065, allocations: 72.17 kB / 471.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 59.86 MB / 0.5191 GB, free: 9.734 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.0794/0.4417, allocations: 29.42 MB / 0.5479 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.4745, allocations: 23.04 MB / 0.5704 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.4769, allocations: 35.69 kB / 0.5704 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.4788, allocations: 0.5426 MB / 0.5709 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.4858, allocations: 2.168 MB / 0.5731 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.4959, allocations: 3.573 MB / 0.5766 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008961/0.5048, allocations: 7.406 MB / 0.5838 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00586/0.5107, allocations: 4.313 MB / 0.588 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007498/0.5182, allocations: 4.967 MB / 0.5928 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009631/0.5278, allocations: 4.955 MB / 0.5977 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.5302, allocations: 0.6758 MB / 0.5983 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.5405, allocations: 3.183 MB / 0.6015 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.5435, allocations: 1.808 MB / 0.6032 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00578/0.5493, allocations: 2.9 MB / 0.6061 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.5699, allocations: 11.64 MB / 0.6174 GB, free: 4.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5699, allocations: 3.938 kB / 0.6174 GB, free: 4.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5699, allocations: 0 / 0.6174 GB, free: 4.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.5702, allocations: 0 / 0.6174 GB, free: 4.922 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.02033/0.5905, allocations: 7.237 MB / 0.6245 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.5906, allocations: 12.03 kB / 0.6245 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007663/0.5982, allocations: 1.241 MB / 0.6257 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008906/0.6071, allocations: 3.317 MB / 0.6289 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.6082, allocations: 1.007 MB / 0.6299 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.6109, allocations: 0.5002 MB / 0.6304 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.6341, allocations: 9.466 MB / 0.6397 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.927e-05/0.6341, allocations: 0 / 0.6397 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009199/0.6351, allocations: 195.9 kB / 0.6399 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.6352, allocations: 116 kB / 0.64 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02599/0.6612, allocations: 12.66 MB / 0.6523 GB, free: 0.7617 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.06323/0.7244, allocations: 26.74 MB / 0.6784 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05971/0.7841, allocations: 26.12 MB / 0.704 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009091/0.7932, allocations: 4.728 MB / 0.7086 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03822/0.8314, allocations: 16.9 MB / 0.7251 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.074e-05/0.8315, allocations: 65.11 kB / 0.7251 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00518/0.8367, allocations: 1.258 MB / 0.7264 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.852e-05/0.8367, allocations: 0 / 0.7264 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3707/1.207, allocations: 24.15 MB / 0.75 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/1.207, allocations: 89.39 kB / 0.75 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/1.211, allocations: 2.838 MB / 0.7528 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009491/1.212, allocations: 91.06 kB / 0.7529 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.213, allocations: 2.224 MB / 0.7551 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.215, allocations: 1.362 MB / 0.7564 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/1.216, allocations: 0.9826 MB / 0.7574 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/1.216, allocations: 302.2 kB / 0.7577 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/1.22, allocations: 2.966 MB / 0.7605 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004591/1.225, allocations: 4.489 MB / 0.7649 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/1.234, allocations: 7.812 MB / 0.7726 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.304e-05/1.234, allocations: 14.88 kB / 0.7726 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05669/1.29, allocations: 13.81 MB / 0.7861 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/1.29, allocations: 24 kB / 0.7861 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.825e-05/1.29, allocations: 48 kB / 0.7861 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008374/1.299, allocations: 3.473 MB / 0.7895 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/1.304, allocations: 1.269 MB / 0.7908 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/1.334, allocations: 17.89 MB / 0.8082 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.339, allocations: 249.8 kB / 0.8085 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.34, allocations: 283.8 kB / 0.8087 GB, free: 121.8 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.003357/1.343, allocations: 1.446 MB / 0.8102 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.345, allocations: 349.7 kB / 0.8105 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0366/1.381, allocations: 9.615 MB / 0.8199 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/1.381, allocations: 40 kB / 0.8199 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.381, allocations: 4 kB / 0.8199 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001303/1.381, allocations: 22.55 kB / 0.8199 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04498/1.426, allocations: 14.36 MB / 0.834 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-05/1.426, allocations: 4 kB / 0.834 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00472/1.431, allocations: 0.8489 MB / 0.8348 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/1.437, allocations: 2.122 MB / 0.8369 GB, free: 93.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008237/1.438, allocations: 150.5 kB / 0.837 GB, free: 93.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/1.459, allocations: 12.1 MB / 0.8488 GB, free: 80.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.459, allocations: 7.938 kB / 0.8488 GB, free: 80.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/1.499, allocations: 12.94 MB / 0.8615 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/1.502, allocations: 0.9022 MB / 0.8624 GB, free: 66.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007886/1.502, allocations: 99.25 kB / 0.8625 GB, free: 66.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.505, allocations: 159.8 kB / 0.8626 GB, free: 66.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/1.506, allocations: 474.2 kB / 0.8631 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/1.506, allocations: 143.9 kB / 0.8632 GB, free: 65.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002076/1.508, allocations: 1.849 MB / 0.865 GB, free: 64.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.508, allocations: 0 / 0.865 GB, free: 64.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006312/1.515, allocations: 2.064 MB / 0.867 GB, free: 62.07 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.002328/1.517, allocations: 1.317 MB / 0.8683 GB, free: 60.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.529, allocations: 7.079 MB / 0.8752 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.529, allocations: 0 / 0.8752 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006876/1.536, allocations: 3.77 MB / 0.8789 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.54, allocations: 0.7536 MB / 0.8796 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/1.557, allocations: 10.99 MB / 0.8904 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.559, allocations: 2.787 MB / 0.8931 GB, free: 35.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003953/1.563, allocations: 1.568 MB / 0.8946 GB, free: 34.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.564, allocations: 455 kB / 0.8951 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/1.564, allocations: 0 / 0.8951 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.4305/1.995, allocations: 91.97 MB / 0.9849 GB, free: 184.6 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: 10.001215199008584] Failed to read output from testmodel.py, exit status != 0: 2.004894617944956 2.015586631 1.442989753 Calling exit ...