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.00119/0.00119, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001338/0.001338, allocations: 162.6 kB / 23.01 MB, free: 4.945 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.345/1.345, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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.1223/0.1223, allocations: 17.36 MB / 277.1 MB, free: 15.27 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.002039/0.002039, allocations: 63.91 kB / 412.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 59.85 MB / 472.3 MB, free: 9.734 MB / 446.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.2632/0.3738, allocations: 29.43 MB / 0.49 GB, free: 38.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.3966, allocations: 23.04 MB / 0.5125 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.398, allocations: 32.16 kB / 0.5125 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3994, allocations: 0.5511 MB / 0.513 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.4048, allocations: 2.162 MB / 0.5152 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008626/0.4134, allocations: 3.584 MB / 0.5187 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006774/0.4202, allocations: 7.393 MB / 0.5259 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.4251, allocations: 4.315 MB / 0.5301 GB, free: 16.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00687/0.432, allocations: 4.966 MB / 0.5349 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009094/0.4411, allocations: 4.951 MB / 0.5398 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.4437, allocations: 0.6758 MB / 0.5404 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.4541, allocations: 3.185 MB / 0.5435 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003135/0.4573, allocations: 1.814 MB / 0.5453 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00605/0.4633, allocations: 2.899 MB / 0.5481 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.4835, allocations: 11.63 MB / 0.5595 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4835, allocations: 0 / 0.5595 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4835, allocations: 0 / 0.5595 GB, free: 10.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002423/0.4838, allocations: 0 / 0.5595 GB, free: 10.71 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.02266/0.5064, allocations: 7.246 MB / 0.5666 GB, free: 3.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5065, allocations: 12.03 kB / 0.5666 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006447/0.5129, allocations: 1.235 MB / 0.5678 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008303/0.5212, allocations: 3.325 MB / 0.571 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009006/0.5221, allocations: 0.999 MB / 0.572 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.5238, allocations: 0.5002 MB / 0.5725 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.5453, allocations: 9.462 MB / 0.5817 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.5455, allocations: 3.938 kB / 0.5817 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/0.5474, allocations: 196 kB / 0.5819 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.5476, allocations: 116 kB / 0.582 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/0.5747, allocations: 12.66 MB / 0.5944 GB, free: 6.551 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.06652/0.6412, allocations: 26.74 MB / 0.6205 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0592/0.7004, allocations: 26.12 MB / 0.646 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009684/0.7101, allocations: 4.728 MB / 0.6506 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04122/0.7513, allocations: 16.89 MB / 0.6671 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.7514, allocations: 69.05 kB / 0.6672 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005085/0.7564, allocations: 1.262 MB / 0.6684 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.637e-05/0.7565, allocations: 0 / 0.6684 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.102/0.8585, allocations: 24.18 MB / 0.6921 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.8586, allocations: 90.36 kB / 0.6921 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.8633, allocations: 2.834 MB / 0.6949 GB, free: 68 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.2006/1.064, allocations: 85.72 kB / 0.695 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.065, allocations: 2.226 MB / 0.6972 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.067, allocations: 1.36 MB / 0.6985 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.068, allocations: 0.9787 MB / 0.6994 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.213e-05/1.068, allocations: 304.5 kB / 0.6997 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.072, allocations: 2.963 MB / 0.7026 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/1.076, allocations: 4.488 MB / 0.707 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008454/1.084, allocations: 7.814 MB / 0.7146 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/1.084, allocations: 16.44 kB / 0.7147 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05531/1.14, allocations: 13.81 MB / 0.7281 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/1.14, allocations: 27.19 kB / 0.7282 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.638e-05/1.14, allocations: 48.97 kB / 0.7282 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00931/1.149, allocations: 3.476 MB / 0.7316 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/1.155, allocations: 1.266 MB / 0.7328 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03162/1.186, allocations: 17.88 MB / 0.7503 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.191, allocations: 249.7 kB / 0.7505 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007638/1.192, allocations: 284.3 kB / 0.7508 GB, free: 150.4 MB / 0.5762 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.002825/1.194, allocations: 1.445 MB / 0.7522 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008569/1.195, allocations: 353.4 kB / 0.7526 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/1.23, allocations: 9.619 MB / 0.762 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.545e-05/1.23, allocations: 39.42 kB / 0.762 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.23, allocations: 3.719 kB / 0.762 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/1.23, allocations: 19.92 kB / 0.762 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04174/1.272, allocations: 14.35 MB / 0.776 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/1.272, allocations: 4 kB / 0.776 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004422/1.277, allocations: 0.8582 MB / 0.7769 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005396/1.282, allocations: 2.126 MB / 0.7789 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000652/1.283, allocations: 135.9 kB / 0.7791 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/1.303, allocations: 12.1 MB / 0.7909 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.303, allocations: 4 kB / 0.7909 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/1.341, allocations: 12.96 MB / 0.8036 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.344, allocations: 0.9022 MB / 0.8044 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/1.344, allocations: 91.97 kB / 0.8045 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.347, allocations: 166.5 kB / 0.8047 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.348, allocations: 470.2 kB / 0.8051 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/1.348, allocations: 147.9 kB / 0.8053 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001887/1.35, allocations: 1.847 MB / 0.8071 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.35, allocations: 0 / 0.8071 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005666/1.355, allocations: 2.055 MB / 0.8091 GB, free: 98.58 MB / 0.5762 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.002113/1.358, allocations: 1.328 MB / 0.8104 GB, free: 97.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.369, allocations: 7.075 MB / 0.8173 GB, free: 90.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.369, allocations: 0 / 0.8173 GB, free: 90.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00641/1.375, allocations: 3.767 MB / 0.821 GB, free: 86.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.379, allocations: 0.7675 MB / 0.8217 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.395, allocations: 10.98 MB / 0.8324 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.397, allocations: 2.783 MB / 0.8352 GB, free: 72.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003864/1.401, allocations: 1.563 MB / 0.8367 GB, free: 70.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.402, allocations: 458 kB / 0.8371 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.422e-06/1.402, allocations: 0 / 0.8371 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.3257/1.728, allocations: 91.96 MB / 0.9269 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.083732289960608] Failed to read output from testmodel.py, exit status != 0: 1.737655933946371 1.746418883 1.260532179 Calling exit ...