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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001387/0.001387, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.785 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.1361/0.1361, allocations: 23.89 MB / 336.3 MB, free: 10.92 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.002054/0.002054, allocations: 67.91 kB / 471.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 59.86 MB / 0.519 GB, free: 9.738 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.07165/0.3925, allocations: 29.45 MB / 0.5478 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03179/0.4243, allocations: 23.04 MB / 0.5703 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.4264, allocations: 35.69 kB / 0.5703 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.4281, allocations: 0.5465 MB / 0.5709 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.4347, allocations: 2.157 MB / 0.573 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.4451, allocations: 3.573 MB / 0.5765 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009058/0.4541, allocations: 7.413 MB / 0.5837 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005899/0.46, allocations: 4.304 MB / 0.5879 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007869/0.4679, allocations: 4.975 MB / 0.5928 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009395/0.4773, allocations: 4.951 MB / 0.5976 GB, free: 9.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002542/0.4798, allocations: 0.6758 MB / 0.5983 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.4898, allocations: 3.183 MB / 0.6014 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.4929, allocations: 1.804 MB / 0.6031 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00515/0.498, allocations: 2.903 MB / 0.606 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01966/0.5177, allocations: 11.63 MB / 0.6173 GB, free: 4.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5177, allocations: 0 / 0.6173 GB, free: 4.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5177, allocations: 4 kB / 0.6173 GB, free: 4.934 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001954/0.5179, allocations: 0 / 0.6173 GB, free: 4.934 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.01781/0.5357, allocations: 7.249 MB / 0.6244 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5358, allocations: 8.031 kB / 0.6244 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005902/0.5417, allocations: 1.238 MB / 0.6256 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008121/0.5498, allocations: 3.321 MB / 0.6289 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008221/0.5506, allocations: 1.003 MB / 0.6299 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.552, allocations: 0.4963 MB / 0.6303 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.5687, allocations: 9.462 MB / 0.6396 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.202e-05/0.5688, allocations: 7.938 kB / 0.6396 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006632/0.5695, allocations: 196 kB / 0.6398 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.5696, allocations: 120 kB / 0.6399 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.5925, allocations: 12.66 MB / 0.6523 GB, free: 0.7656 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.05661/0.6491, allocations: 26.72 MB / 0.6784 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05631/0.7055, allocations: 26.12 MB / 0.7039 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008468/0.7139, allocations: 4.72 MB / 0.7085 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0345/0.7484, allocations: 16.89 MB / 0.725 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.654e-05/0.7485, allocations: 65.11 kB / 0.725 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004546/0.753, allocations: 1.258 MB / 0.7263 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 7.975e-06/0.7531, allocations: 0 / 0.7263 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3186/1.072, allocations: 24.16 MB / 0.7498 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.072, allocations: 91.39 kB / 0.7499 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/1.075, allocations: 2.84 MB / 0.7527 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009141/1.076, allocations: 90.92 kB / 0.7528 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.077, allocations: 2.221 MB / 0.755 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.079, allocations: 1.364 MB / 0.7563 GB, free: 167 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.08, allocations: 0.9805 MB / 0.7573 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/1.08, allocations: 305.1 kB / 0.7575 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/1.085, allocations: 2.962 MB / 0.7604 GB, free: 165 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004819/1.09, allocations: 4.487 MB / 0.7648 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008623/1.098, allocations: 7.812 MB / 0.7724 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.011e-05/1.098, allocations: 15.62 kB / 0.7725 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05261/1.151, allocations: 13.81 MB / 0.786 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/1.151, allocations: 26.66 kB / 0.786 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.151, allocations: 48 kB / 0.786 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008013/1.159, allocations: 3.468 MB / 0.7894 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/1.165, allocations: 1.27 MB / 0.7907 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/1.192, allocations: 17.88 MB / 0.8081 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/1.197, allocations: 250.5 kB / 0.8084 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000821/1.198, allocations: 286.5 kB / 0.8086 GB, free: 122.9 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.002657/1.201, allocations: 1.446 MB / 0.81 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/1.201, allocations: 349.7 kB / 0.8104 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03284/1.234, allocations: 9.616 MB / 0.8198 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/1.234, allocations: 40 kB / 0.8198 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/1.234, allocations: 4 kB / 0.8198 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/1.234, allocations: 19.92 kB / 0.8198 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04196/1.276, allocations: 14.36 MB / 0.8339 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/1.276, allocations: 6.578 kB / 0.8339 GB, free: 97.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004286/1.281, allocations: 0.8489 MB / 0.8347 GB, free: 96.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005383/1.286, allocations: 2.125 MB / 0.8368 GB, free: 94.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007498/1.287, allocations: 143.8 kB / 0.8369 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/1.307, allocations: 12.11 MB / 0.8487 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.307, allocations: 6.75 kB / 0.8487 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0375/1.344, allocations: 12.94 MB / 0.8614 GB, free: 68.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.347, allocations: 0.8997 MB / 0.8622 GB, free: 67.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000727/1.348, allocations: 95.97 kB / 0.8623 GB, free: 67.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.35, allocations: 162.5 kB / 0.8625 GB, free: 67.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009052/1.351, allocations: 474.2 kB / 0.8629 GB, free: 67.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002809/1.351, allocations: 143.9 kB / 0.8631 GB, free: 66.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001952/1.353, allocations: 1.847 MB / 0.8649 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.353, allocations: 0 / 0.8649 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005955/1.359, allocations: 2.063 MB / 0.8669 GB, free: 63.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.002432/1.362, allocations: 1.325 MB / 0.8682 GB, free: 61.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.373, allocations: 7.08 MB / 0.8751 GB, free: 54.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.373, allocations: 0 / 0.8751 GB, free: 54.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006659/1.38, allocations: 3.765 MB / 0.8788 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.383, allocations: 0.7621 MB / 0.8795 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.398, allocations: 10.99 MB / 0.8903 GB, free: 39.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.4, allocations: 2.791 MB / 0.893 GB, free: 36.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003692/1.404, allocations: 1.558 MB / 0.8945 GB, free: 35.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.405, allocations: 453.8 kB / 0.8949 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.405, allocations: 0 / 0.8949 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.3515/1.757, allocations: 98.21 MB / 0.9908 GB, free: 182.5 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: 9.186748404055834] Failed to read output from testmodel.py, exit status != 0: 1.765765743330121 1.774623661 1.254454178 Calling exit ...