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.001217/0.001217, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001337/0.001337, allocations: 219 kB / 22.26 MB, free: 5.125 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.004 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.1504/0.1504, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.001885/0.001885, allocations: 63.89 kB / 471.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2759, allocations: 59.84 MB / 0.5191 GB, free: 9.828 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.03718/0.313, allocations: 30.51 MB / 0.5489 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03306/0.3461, allocations: 26.29 MB / 0.5745 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3477, allocations: 35.69 kB / 0.5746 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3495, allocations: 0.5971 MB / 0.5751 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.3558, allocations: 2.18 MB / 0.5773 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009663/0.3654, allocations: 3.577 MB / 0.5808 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3756, allocations: 7.406 MB / 0.588 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/0.3813, allocations: 4.335 MB / 0.5922 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006842/0.3881, allocations: 4.963 MB / 0.5971 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007882/0.396, allocations: 4.76 MB / 0.6017 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00194/0.3979, allocations: 0.6719 MB / 0.6024 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009818/0.4077, allocations: 3.37 MB / 0.6057 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.4104, allocations: 1.812 MB / 0.6074 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005432/0.4159, allocations: 3.354 MB / 0.6107 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.4331, allocations: 11.61 MB / 0.6221 GB, free: 400 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4331, allocations: 3.938 kB / 0.6221 GB, free: 396 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4331, allocations: 0 / 0.6221 GB, free: 396 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001463/0.4333, allocations: 3.938 kB / 0.6221 GB, free: 392 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.01598/0.4493, allocations: 7.249 MB / 0.6292 GB, free: 9.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4493, allocations: 8.031 kB / 0.6292 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/0.4546, allocations: 1.241 MB / 0.6304 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006746/0.4614, allocations: 3.313 MB / 0.6336 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007572/0.4621, allocations: 1.007 MB / 0.6346 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.4632, allocations: 0.4924 MB / 0.6351 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.4783, allocations: 9.47 MB / 0.6443 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/0.4784, allocations: 0 / 0.6443 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006214/0.479, allocations: 192 kB / 0.6445 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.4791, allocations: 116 kB / 0.6446 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.4988, allocations: 12.75 MB / 0.6571 GB, free: 12.14 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.05392/0.5527, allocations: 30.78 MB / 0.6871 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05468/0.6074, allocations: 26.87 MB / 0.7134 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008145/0.6156, allocations: 4.721 MB / 0.718 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2241/0.8397, allocations: 17.73 MB / 0.7353 GB, free: 169 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.8398, allocations: 68.44 kB / 0.7354 GB, free: 169 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00459/0.8443, allocations: 1.275 MB / 0.7366 GB, free: 169 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.019e-05/0.8444, allocations: 3.062 kB / 0.7366 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.08807/0.9324, allocations: 24.18 MB / 0.7602 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.9325, allocations: 97.61 kB / 0.7603 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.9357, allocations: 2.975 MB / 0.7632 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/0.9365, allocations: 89.52 kB / 0.7633 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.9374, allocations: 2.223 MB / 0.7655 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009736/0.9384, allocations: 1.361 MB / 0.7668 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.9395, allocations: 0.9835 MB / 0.7678 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.279e-05/0.9396, allocations: 307.8 kB / 0.7681 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.9431, allocations: 2.956 MB / 0.7709 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/0.947, allocations: 4.492 MB / 0.7753 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007905/0.9549, allocations: 7.805 MB / 0.783 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.955, allocations: 17.94 kB / 0.783 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05043/1.005, allocations: 13.82 MB / 0.7965 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/1.005, allocations: 34.56 kB / 0.7965 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.864e-05/1.006, allocations: 48 kB / 0.7965 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00768/1.013, allocations: 3.468 MB / 0.7999 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/1.018, allocations: 1.272 MB / 0.8012 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/1.046, allocations: 18.15 MB / 0.8189 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/1.05, allocations: 247.8 kB / 0.8191 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006854/1.051, allocations: 279.8 kB / 0.8194 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.002201/1.053, allocations: 1.45 MB / 0.8208 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007858/1.054, allocations: 365.6 kB / 0.8212 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03184/1.086, allocations: 9.637 MB / 0.8306 GB, free: 99.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/1.086, allocations: 42.66 kB / 0.8306 GB, free: 99.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.086, allocations: 4 kB / 0.8306 GB, free: 99.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/1.086, allocations: 23.86 kB / 0.8307 GB, free: 99.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/1.125, allocations: 15.48 MB / 0.8458 GB, free: 84.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/1.125, allocations: 0 / 0.8458 GB, free: 84.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004095/1.129, allocations: 0.8529 MB / 0.8466 GB, free: 83.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00537/1.135, allocations: 2.119 MB / 0.8487 GB, free: 81.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006372/1.135, allocations: 139.9 kB / 0.8488 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/1.154, allocations: 12.33 MB / 0.8608 GB, free: 68.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.154, allocations: 14.44 kB / 0.8609 GB, free: 68.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03432/1.189, allocations: 12.95 MB / 0.8735 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/1.191, allocations: 0.9205 MB / 0.8744 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/1.192, allocations: 99.91 kB / 0.8745 GB, free: 54.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.194, allocations: 159.8 kB / 0.8747 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008649/1.195, allocations: 476.7 kB / 0.8751 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/1.195, allocations: 147.9 kB / 0.8752 GB, free: 53.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001908/1.197, allocations: 1.996 MB / 0.8772 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.197, allocations: 0 / 0.8772 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004848/1.202, allocations: 2.065 MB / 0.8792 GB, free: 49.56 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.001771/1.203, allocations: 1.323 MB / 0.8805 GB, free: 48.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.214, allocations: 7.068 MB / 0.8874 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.214, allocations: 7.875 kB / 0.8874 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005822/1.22, allocations: 3.767 MB / 0.8911 GB, free: 37.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.223, allocations: 0.7799 MB / 0.8919 GB, free: 36.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.237, allocations: 11.02 MB / 0.9026 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.239, allocations: 3.3 MB / 0.9058 GB, free: 22.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003266/1.242, allocations: 1.577 MB / 0.9074 GB, free: 20.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.243, allocations: 463.2 kB / 0.9078 GB, free: 20.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/1.243, allocations: 0 / 0.9078 GB, free: 20.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.3178/1.561, allocations: 96.34 MB / 1.002 GB, free: 175 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: 8.82557567791082] Failed to read output from testmodel.py, exit status != 0: 1.5693226379808038 1.577961251 1.142657247 Calling exit ...