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.00191/0.00191, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002355/0.002355, allocations: 211.6 kB / 22.25 MB, free: 5.121 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.1438/0.1438, allocations: 23.89 MB / 336.3 MB, free: 11.15 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.002151/0.002151, allocations: 63.91 kB / 471.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3111, allocations: 59.87 MB / 0.5192 GB, free: 9.812 MB / 382.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.0426/0.3537, allocations: 30.52 MB / 0.549 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03563/0.3893, allocations: 26.29 MB / 0.5746 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.3923, allocations: 35.69 kB / 0.5747 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.3945, allocations: 0.6087 MB / 0.5753 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.4022, allocations: 2.168 MB / 0.5774 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.4127, allocations: 3.581 MB / 0.5809 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009507/0.4222, allocations: 7.406 MB / 0.5881 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006602/0.4288, allocations: 4.327 MB / 0.5923 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/0.4375, allocations: 4.971 MB / 0.5972 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009168/0.4467, allocations: 4.764 MB / 0.6018 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002667/0.4493, allocations: 0.6719 MB / 0.6025 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.4609, allocations: 3.363 MB / 0.6058 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003719/0.4646, allocations: 1.82 MB / 0.6076 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006636/0.4712, allocations: 3.357 MB / 0.6108 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02329/0.4945, allocations: 11.62 MB / 0.6222 GB, free: 264 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.4945, allocations: 0 / 0.6222 GB, free: 264 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4945, allocations: 0 / 0.6222 GB, free: 264 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002843/0.4948, allocations: 0 / 0.6222 GB, free: 264 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.0211/0.5159, allocations: 7.241 MB / 0.6293 GB, free: 8.945 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.516, allocations: 12.03 kB / 0.6293 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007112/0.5231, allocations: 1.238 MB / 0.6305 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.5317, allocations: 3.313 MB / 0.6337 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009236/0.5326, allocations: 1.007 MB / 0.6347 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/0.535, allocations: 0.4924 MB / 0.6352 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/0.5585, allocations: 9.47 MB / 0.6444 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.5586, allocations: 0 / 0.6444 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/0.5601, allocations: 192 kB / 0.6446 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.5602, allocations: 116 kB / 0.6447 GB, free: 8.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02807/0.5883, allocations: 12.75 MB / 0.6572 GB, free: 12.02 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.07157/0.6599, allocations: 30.78 MB / 0.6872 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0602/0.7201, allocations: 26.87 MB / 0.7135 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009369/0.7294, allocations: 4.721 MB / 0.7181 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2733/1.003, allocations: 17.74 MB / 0.7354 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.003, allocations: 66.84 kB / 0.7355 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005186/1.008, allocations: 1.275 MB / 0.7367 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 2.368e-05/1.008, allocations: 0 / 0.7367 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.1025/1.11, allocations: 24.18 MB / 0.7603 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/1.111, allocations: 93.73 kB / 0.7604 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/1.115, allocations: 2.974 MB / 0.7633 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001495/1.116, allocations: 89.23 kB / 0.7634 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.117, allocations: 2.239 MB / 0.7656 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.119, allocations: 1.358 MB / 0.7669 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/1.121, allocations: 0.9838 MB / 0.7679 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/1.121, allocations: 301.1 kB / 0.7682 GB, free: 157 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.125, allocations: 2.957 MB / 0.7711 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/1.13, allocations: 4.492 MB / 0.7754 GB, free: 152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.141, allocations: 7.809 MB / 0.7831 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.735e-05/1.141, allocations: 15.34 kB / 0.7831 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05416/1.195, allocations: 13.82 MB / 0.7966 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/1.195, allocations: 31.94 kB / 0.7966 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.296e-05/1.195, allocations: 48 kB / 0.7967 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008268/1.203, allocations: 3.466 MB / 0.8 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/1.209, allocations: 1.277 MB / 0.8013 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02964/1.238, allocations: 18.14 MB / 0.819 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004644/1.243, allocations: 251.8 kB / 0.8192 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009943/1.244, allocations: 278.5 kB / 0.8195 GB, free: 110.7 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.002871/1.247, allocations: 1.459 MB / 0.8209 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/1.248, allocations: 361.6 kB / 0.8213 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03404/1.282, allocations: 9.638 MB / 0.8307 GB, free: 99.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/1.282, allocations: 40 kB / 0.8307 GB, free: 99.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.282, allocations: 4 kB / 0.8307 GB, free: 99.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000119/1.282, allocations: 23.86 kB / 0.8308 GB, free: 99.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0447/1.327, allocations: 15.48 MB / 0.8459 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/1.327, allocations: 4 kB / 0.8459 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004504/1.331, allocations: 0.858 MB / 0.8467 GB, free: 83.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005981/1.337, allocations: 2.12 MB / 0.8488 GB, free: 80.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009316/1.338, allocations: 135.9 kB / 0.8489 GB, free: 80.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.359, allocations: 12.33 MB / 0.861 GB, free: 68.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.359, allocations: 11.88 kB / 0.861 GB, free: 68.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03811/1.397, allocations: 12.95 MB / 0.8736 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002777/1.4, allocations: 0.9231 MB / 0.8745 GB, free: 54.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009243/1.401, allocations: 99.91 kB / 0.8746 GB, free: 54.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.404, allocations: 159.8 kB / 0.8748 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009735/1.405, allocations: 470.2 kB / 0.8752 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.405, allocations: 150.8 kB / 0.8754 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002314/1.407, allocations: 1.996 MB / 0.8773 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.407, allocations: 0 / 0.8773 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006768/1.414, allocations: 2.064 MB / 0.8793 GB, free: 49.34 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.002433/1.416, allocations: 1.327 MB / 0.8806 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.43, allocations: 7.079 MB / 0.8875 GB, free: 41.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.43, allocations: 3.75 kB / 0.8875 GB, free: 41.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007359/1.437, allocations: 3.776 MB / 0.8912 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/1.441, allocations: 0.7712 MB / 0.892 GB, free: 36.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.458, allocations: 11.01 MB / 0.9027 GB, free: 25.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/1.46, allocations: 3.307 MB / 0.906 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003709/1.464, allocations: 1.58 MB / 0.9075 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.465, allocations: 461.9 kB / 0.9079 GB, free: 20.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/1.465, allocations: 0 / 0.9079 GB, free: 20.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.3651/1.83, allocations: 96.33 MB / 1.002 GB, free: 175 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.598408997990191] Failed to read output from testmodel.py, exit status != 0: 1.8401760561391711 1.848606256 1.3514642940000001 Calling exit ...