Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 103.4 kB / 18.18 MB, free: 4.133 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 189.9 kB / 21.34 MB, free: 0.9844 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0858/0.0858, allocations: 15.55 MB / 320.6 MB, free: 13.22 MB / 254.1 MB [Timeout remaining time 90] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.06 kB / 448.7 MB, free: 46.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08804, allocations: 56.55 MB / 0.4934 GB, free: 19.43 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.Hemoglobin.HemoglobinMultipleAllostery): time 0.04643/0.1345, allocations: 42.57 MB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08669/0.2212, allocations: 72.92 MB / 0.6062 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.2247, allocations: 55.69 kB / 0.6062 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004669/0.2294, allocations: 1.632 MB / 0.6078 GB, free: 28 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2719/0.5012, allocations: 5.96 MB / 0.6136 GB, free: 16.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02538/0.5266, allocations: 10.29 MB / 0.6237 GB, free: 16.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02347/0.5501, allocations: 26.69 MB / 0.6497 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02223/0.5723, allocations: 19.1 MB / 0.6684 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0278/0.6001, allocations: 17.6 MB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03243/0.6325, allocations: 16.73 MB / 0.7019 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.01181/0.6443, allocations: 3.129 MB / 0.705 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04301/0.6874, allocations: 10.83 MB / 0.7155 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.01483/0.7022, allocations: 7.076 MB / 0.7225 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.03027/0.7325, allocations: 12.23 MB / 0.7344 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.07959/0.812, allocations: 42.59 MB / 0.776 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.8121, allocations: 2.625 kB / 0.776 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8121, allocations: 0 / 0.776 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.001171/0.8132, allocations: 0 / 0.776 GB, free: 0.8711 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3808 * Number of variables: 3808 Notification: Performance of Generate backend data structure: time 0.08507/0.8983, allocations: 23.76 MB / 0.7992 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.8983, allocations: 10.84 kB / 0.7992 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/0.9255, allocations: 3.976 MB / 0.8031 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03417/0.9596, allocations: 12.15 MB / 0.815 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002716/0.9624, allocations: 2.14 MB / 0.817 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009825/0.9722, allocations: 1.536 MB / 0.8185 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5957/1.568, allocations: 35.21 MB / 0.8529 GB, free: 208.4 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007099/1.569, allocations: 10.88 kB / 0.8529 GB, free: 208.4 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007615/1.576, allocations: 0.5853 MB / 0.8535 GB, free: 207.9 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/1.576, allocations: 362 kB / 0.8539 GB, free: 207.9 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08707/1.664, allocations: 47.7 MB / 0.9004 GB, free: 186.7 MB / 0.6232 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.2533/1.917, allocations: 130.5 MB / 1.028 GB, free: 58.7 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 1.041/2.958, allocations: 275 MB / 1.296 GB, free: 26.38 MB / 0.6233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02971/2.988, allocations: 18.5 MB / 1.315 GB, free: 7.84 MB / 0.6233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.411/3.399, allocations: 89.99 MB / 1.402 GB, free: 188.9 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/3.399, allocations: 132.4 kB / 1.403 GB, free: 188.8 MB / 0.6389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02775/3.427, allocations: 6.35 MB / 1.409 GB, free: 187.8 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=995): time 5.407e-05/3.427, allocations: 0 / 1.409 GB, free: 187.8 MB / 0.6389 GB Notification: Performance of matching and sorting (n=1129): time 0.6384/4.065, allocations: 130.7 MB / 1.536 GB, free: 65.07 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/4.065, allocations: 168.2 kB / 1.537 GB, free: 64.89 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01752/4.083, allocations: 10.16 MB / 1.546 GB, free: 54.89 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.004387/4.087, allocations: 217.6 kB / 1.547 GB, free: 54.67 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.005273/4.092, allocations: 7.086 MB / 1.554 GB, free: 48.42 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.007575/4.1, allocations: 4.108 MB / 1.558 GB, free: 44.86 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01617/4.116, allocations: 3.277 MB / 1.561 GB, free: 41.57 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/4.116, allocations: 301.1 kB / 1.561 GB, free: 41.28 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3051/4.421, allocations: 11.82 MB / 1.573 GB, free: 207.1 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02378/4.445, allocations: 16.55 MB / 1.589 GB, free: 197 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04562/4.491, allocations: 29.74 MB / 1.618 GB, free: 180.7 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/4.491, allocations: 46.31 kB / 1.618 GB, free: 180.7 MB / 0.6389 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.4232/4.914, allocations: 81.39 MB / 1.697 GB, free: 121.4 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/4.914, allocations: 74.53 kB / 1.697 GB, free: 121.3 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002268/4.915, allocations: 152.6 kB / 1.698 GB, free: 121.1 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05741/4.972, allocations: 22.4 MB / 1.719 GB, free: 98.95 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01645/4.988, allocations: 3.727 MB / 1.723 GB, free: 95.22 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5535/5.542, allocations: 93.91 MB / 1.815 GB, free: 176.9 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0194/5.561, allocations: 0.8292 MB / 1.816 GB, free: 176.7 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005525/5.567, allocations: 0.9334 MB / 1.817 GB, free: 176.6 MB / 0.6389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 (1841): * Single equations (assignments): 1838 * 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%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01641/5.583, allocations: 5.372 MB / 1.822 GB, free: 174.6 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007431/5.591, allocations: 1.113 MB / 1.823 GB, free: 174.6 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2755/5.866, allocations: 48.48 MB / 1.87 GB, free: 161.2 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001441/5.866, allocations: 121.4 kB / 1.87 GB, free: 161.2 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001709/5.867, allocations: 24.95 kB / 1.87 GB, free: 161.2 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004159/5.867, allocations: 60.61 kB / 1.87 GB, free: 161.1 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3154/6.182, allocations: 72.92 MB / 1.942 GB, free: 101 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001543/6.182, allocations: 4.438 kB / 1.942 GB, free: 101 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01445/6.197, allocations: 2.415 MB / 1.944 GB, free: 98.62 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03069/6.228, allocations: 11.89 MB / 1.956 GB, free: 86.94 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004161/6.232, allocations: 475.5 kB / 1.956 GB, free: 86.47 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.103/6.335, allocations: 46.9 MB / 2.002 GB, free: 39.28 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/6.335, allocations: 9.484 kB / 2.002 GB, free: 39.27 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6811/7.016, allocations: 62.66 MB / 2.063 GB, free: 179 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01149/7.027, allocations: 3.35 MB / 2.066 GB, free: 178.1 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005163/7.033, allocations: 294.6 kB / 2.067 GB, free: 177.9 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01298/7.046, allocations: 0.519 MB / 2.067 GB, free: 177.7 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006815/7.052, allocations: 1.497 MB / 2.069 GB, free: 177.5 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003306/7.056, allocations: 474 kB / 2.069 GB, free: 177.4 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.01186/7.068, allocations: 6.968 MB / 2.076 GB, free: 175.1 MB / 0.6389 GB Notification: Performance of sort global known variables: time 2.7e-07/7.068, allocations: 0 / 2.076 GB, free: 175.1 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.0298/7.097, allocations: 6.725 MB / 2.082 GB, free: 174.5 MB / 0.6389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 60 (solution.temperature,O2_free.logn,H2O.logn,relaxed.OxyHm[1].logn,relaxed.OxyHm[2].logn,relaxed.OxyHm[3].logn,relaxed.OxyHm[4].logn,relaxed.DeoxyHm[1].logn,relaxed.DeoxyHm[2].logn,relaxed.DeoxyHm[3].logn,relaxed.DeoxyHm[4].logn,relaxed.HmAH[1].logn,relaxed.HmAH[2].logn,relaxed.HmAH[3].logn,relaxed.HmAH[4].logn,relaxed.HmA[1].logn,relaxed.HmA[2].logn,relaxed.HmA[3].logn,relaxed.HmA[4].logn,relaxed.HmNH3[1].logn,relaxed.HmNH3[2].logn,relaxed.HmNH3[3].logn,relaxed.HmNH3[4].logn,relaxed.HmNH2[1].logn,relaxed.HmNH2[2].logn,relaxed.HmNH2[3].logn,relaxed.HmNH2[4].logn,relaxed.HmNHCOO[1].logn,relaxed.HmNHCOO[2].logn,relaxed.HmNHCOO[3].logn,relaxed.HmNHCOO[4].logn,tensed.OxyHm[1].logn,tensed.OxyHm[2].logn,tensed.OxyHm[3].logn,tensed.OxyHm[4].logn,tensed.DeoxyHm[1].logn,tensed.DeoxyHm[2].logn,tensed.DeoxyHm[3].logn,tensed.DeoxyHm[4].logn,tensed.HmAH[1].logn,tensed.HmAH[2].logn,tensed.HmAH[3].logn,tensed.HmAH[4].logn,tensed.HmA[1].logn,tensed.HmA[2].logn,tensed.HmA[3].logn,tensed.HmA[4].logn,tensed.HmNH3[1].logn,tensed.HmNH3[2].logn,tensed.HmNH3[3].logn,tensed.HmNH3[4].logn,tensed.HmNH2[1].logn,tensed.HmNH2[2].logn,tensed.HmNH2[3].logn,tensed.HmNH2[4].logn,tensed.HmNHCOO[1].logn,tensed.HmNHCOO[2].logn,tensed.HmNHCOO[3].logn,tensed.HmNHCOO[4].logn,CO2_free.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 (1234): * Single equations (assignments): 1231 * 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%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0107/7.108, allocations: 3.584 MB / 2.086 GB, free: 174 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.07104/7.179, allocations: 26.37 MB / 2.112 GB, free: 163.6 MB / 0.6389 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/7.179, allocations: 0 / 2.112 GB, free: 163.6 MB / 0.6389 GB Notification: Performance of simCode: created simulation system equations: time 0.04093/7.22, allocations: 13.61 MB / 2.125 GB, free: 151.1 MB / 0.6389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.022/7.242, allocations: 2.499 MB / 2.127 GB, free: 148.9 MB / 0.6389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09968/7.342, allocations: 38.19 MB / 2.165 GB, free: 110.7 MB / 0.6389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01839/7.36, allocations: 9.642 MB / 2.174 GB, free: 101.1 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009789/7.37, allocations: 1.557 MB / 2.176 GB, free: 99.58 MB / 0.6389 GB Notification: Performance of SimCode: time 1.302e-06/7.37, allocations: 3.938 kB / 2.176 GB, free: 99.57 MB / 0.6389 GB Notification: Performance of Templates: time 1.165/8.535, allocations: 0.5124 GB / 2.688 GB, free: 56.68 MB / 0.6545 GB [Timeout remaining time 651] make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe 2>&1) [Timeout 480]