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.001312/0.001312, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001465/0.001465, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1312/0.1312, allocations: 23.86 MB / 337.1 MB, free: 11.21 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.002179/0.002179, allocations: 59.91 kB / 472.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3009, allocations: 59.86 MB / 0.5198 GB, free: 9.844 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.04196/0.3428, allocations: 30.5 MB / 0.5496 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03415/0.377, allocations: 26.29 MB / 0.5753 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.3789, allocations: 35.69 kB / 0.5753 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.3808, allocations: 0.6009 MB / 0.5759 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.3875, allocations: 2.172 MB / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00969/0.3972, allocations: 3.585 MB / 0.5815 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008701/0.4059, allocations: 7.398 MB / 0.5887 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006081/0.412, allocations: 4.327 MB / 0.593 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008802/0.4208, allocations: 4.971 MB / 0.5978 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008882/0.4296, allocations: 4.756 MB / 0.6025 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.432, allocations: 0.6758 MB / 0.6031 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.443, allocations: 3.374 MB / 0.6064 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00342/0.4464, allocations: 1.804 MB / 0.6082 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006618/0.4531, allocations: 3.354 MB / 0.6115 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02159/0.4746, allocations: 11.62 MB / 0.6228 GB, free: 384 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.4747, allocations: 0 / 0.6228 GB, free: 384 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4747, allocations: 0 / 0.6228 GB, free: 384 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003215/0.475, allocations: 0 / 0.6228 GB, free: 384 kB / 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.02181/0.4968, allocations: 7.249 MB / 0.6299 GB, free: 9.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4968, allocations: 12.03 kB / 0.6299 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.5038, allocations: 1.238 MB / 0.6311 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008829/0.5126, allocations: 3.313 MB / 0.6343 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/0.5137, allocations: 1.014 MB / 0.6353 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.5161, allocations: 0.4885 MB / 0.6358 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.5383, allocations: 9.466 MB / 0.6451 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.5384, allocations: 7.938 kB / 0.6451 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/0.5397, allocations: 192 kB / 0.6453 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.5398, allocations: 116 kB / 0.6454 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02654/0.5664, allocations: 12.75 MB / 0.6578 GB, free: 12.12 MB / 0.4981 GB 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.06841/0.6348, allocations: 30.78 MB / 0.6879 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06052/0.6953, allocations: 26.87 MB / 0.7141 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009747/0.705, allocations: 4.717 MB / 0.7187 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2652/0.9702, allocations: 17.74 MB / 0.736 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.9702, allocations: 63.78 kB / 0.7361 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004831/0.9751, allocations: 1.279 MB / 0.7374 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.761e-05/0.9751, allocations: 0 / 0.7374 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.09432/1.069, allocations: 24.18 MB / 0.761 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.069, allocations: 104.5 kB / 0.7611 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/1.073, allocations: 2.971 MB / 0.764 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008956/1.074, allocations: 89.52 kB / 0.764 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.075, allocations: 2.225 MB / 0.7662 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.076, allocations: 1.359 MB / 0.7675 GB, free: 158 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/1.077, allocations: 0.9849 MB / 0.7685 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.174e-05/1.078, allocations: 305.1 kB / 0.7688 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/1.081, allocations: 2.961 MB / 0.7717 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00452/1.086, allocations: 4.489 MB / 0.7761 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009149/1.095, allocations: 7.808 MB / 0.7837 GB, free: 147 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.185e-05/1.095, allocations: 15.75 kB / 0.7837 GB, free: 147 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05401/1.149, allocations: 13.83 MB / 0.7972 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/1.149, allocations: 27.94 kB / 0.7973 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-05/1.149, allocations: 48 kB / 0.7973 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008214/1.157, allocations: 3.471 MB / 0.8007 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/1.163, allocations: 1.266 MB / 0.8019 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/1.192, allocations: 18.14 MB / 0.8196 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/1.196, allocations: 254.9 kB / 0.8199 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009236/1.197, allocations: 289.1 kB / 0.8202 GB, free: 111 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.002762/1.2, allocations: 1.448 MB / 0.8216 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009419/1.201, allocations: 365.5 kB / 0.8219 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03401/1.235, allocations: 9.636 MB / 0.8313 GB, free: 99.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.235, allocations: 40 kB / 0.8314 GB, free: 99.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.235, allocations: 4 kB / 0.8314 GB, free: 99.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/1.235, allocations: 23.86 kB / 0.8314 GB, free: 99.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04293/1.278, allocations: 15.48 MB / 0.8465 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.278, allocations: 6.531 kB / 0.8465 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004331/1.282, allocations: 0.849 MB / 0.8473 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005861/1.288, allocations: 2.125 MB / 0.8494 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008648/1.289, allocations: 131.9 kB / 0.8495 GB, free: 81.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/1.31, allocations: 12.33 MB / 0.8616 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.31, allocations: 11.88 kB / 0.8616 GB, free: 68.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03796/1.348, allocations: 12.95 MB / 0.8742 GB, free: 55.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/1.351, allocations: 0.9174 MB / 0.8751 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.352, allocations: 95.92 kB / 0.8752 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.354, allocations: 163.8 kB / 0.8754 GB, free: 54.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.356, allocations: 473.1 kB / 0.8758 GB, free: 53.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003438/1.356, allocations: 143.9 kB / 0.876 GB, free: 53.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002317/1.358, allocations: 2 MB / 0.8779 GB, free: 51.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.358, allocations: 0 / 0.8779 GB, free: 51.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007171/1.365, allocations: 2.068 MB / 0.88 GB, free: 49.6 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.002552/1.368, allocations: 1.323 MB / 0.8812 GB, free: 48.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.381, allocations: 7.08 MB / 0.8882 GB, free: 41.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.381, allocations: 0 / 0.8882 GB, free: 41.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007217/1.388, allocations: 3.761 MB / 0.8918 GB, free: 37.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/1.392, allocations: 0.7724 MB / 0.8926 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.41, allocations: 10.99 MB / 0.9033 GB, free: 25.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/1.413, allocations: 3.211 MB / 0.9065 GB, free: 22.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/1.415, allocations: 0.4903 MB / 0.9069 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.415, allocations: 0 / 0.9069 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.355/1.77, allocations: 147.4 MB / 1.051 GB, free: 130.8 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: 14.525244945893064] Failed to read output from testmodel.py, exit status != 0: 1.7795803740154952 1.789034831 1.311751427 Calling exit ...