Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1059/0.1059, allocations: 15.54 MB / 320 MB, free: 13.1 MB / 254.1 MB " [Timeout remaining time 180] 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.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration") translateModel(Chemical.Examples.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003409/0.003409, allocations: 68.45 kB / 448.3 MB, free: 46.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1584, allocations: 56.56 MB / 0.493 GB, free: 19.09 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.HemoglobinTitration): time 0.05227/0.2107, allocations: 42.81 MB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.09564/0.3063, allocations: 73.06 MB / 0.6062 GB, free: 1.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005489/0.3118, allocations: 67.56 kB / 0.6062 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3387/0.6505, allocations: 1.626 MB / 0.6078 GB, free: 16.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.6721, allocations: 5.966 MB / 0.6136 GB, free: 16.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03167/0.7038, allocations: 10.29 MB / 0.6237 GB, free: 16.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02923/0.733, allocations: 26.69 MB / 0.6497 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/0.7548, allocations: 16.28 MB / 0.6656 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03457/0.7894, allocations: 17.59 MB / 0.6828 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03458/0.824, allocations: 16.73 MB / 0.6992 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.01432/0.8383, allocations: 3.133 MB / 0.7022 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05415/0.8925, allocations: 10.84 MB / 0.7128 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0196/0.9121, allocations: 7.075 MB / 0.7197 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.03638/0.9484, allocations: 12.24 MB / 0.7317 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.09541/1.044, allocations: 42.59 MB / 0.7733 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.044, allocations: 0 / 0.7733 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/1.044, allocations: 0 / 0.7733 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.001191/1.045, allocations: 0 / 0.7733 GB, free: 2.43 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: 3812 * Number of variables: 3812 Notification: Performance of Generate backend data structure: time 0.0972/1.142, allocations: 23.77 MB / 0.7965 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.142, allocations: 12.03 kB / 0.7965 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03021/1.173, allocations: 3.975 MB / 0.8004 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/1.21, allocations: 12.16 MB / 0.8122 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003192/1.213, allocations: 2.131 MB / 0.8143 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01444/1.227, allocations: 1.539 MB / 0.8158 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.779/2.006, allocations: 35.23 MB / 0.8502 GB, free: 208 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006477/2.007, allocations: 7.312 kB / 0.8502 GB, free: 208 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009634/2.017, allocations: 0.589 MB / 0.8508 GB, free: 207.6 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/2.017, allocations: 357.9 kB / 0.8512 GB, free: 207.6 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1001/2.117, allocations: 47.71 MB / 0.8977 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.2788/2.396, allocations: 130.5 MB / 1.025 GB, free: 60.34 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 1.148/3.544, allocations: 275 MB / 1.294 GB, free: 28.01 MB / 0.6233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0312/3.575, allocations: 18.5 MB / 1.312 GB, free: 9.465 MB / 0.6233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5482/4.123, allocations: 90.01 MB / 1.4 GB, free: 189 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/4.124, allocations: 136.2 kB / 1.4 GB, free: 188.9 MB / 0.6389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02713/4.151, allocations: 6.348 MB / 1.406 GB, free: 187.9 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=996): time 7.825e-05/4.151, allocations: 0 / 1.406 GB, free: 187.9 MB / 0.6389 GB Notification: Performance of matching and sorting (n=1130): time 0.6454/4.796, allocations: 136.6 MB / 1.539 GB, free: 60.52 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/4.796, allocations: 164.2 kB / 1.54 GB, free: 60.34 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01434/4.811, allocations: 10.16 MB / 1.55 GB, free: 50.34 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.00483/4.815, allocations: 213.7 kB / 1.55 GB, free: 50.12 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.005191/4.821, allocations: 7.101 MB / 1.557 GB, free: 43.86 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.006957/4.828, allocations: 4.109 MB / 1.561 GB, free: 40.3 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3832/5.211, allocations: 3.272 MB / 1.564 GB, free: 208.8 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/5.211, allocations: 302.7 kB / 1.564 GB, free: 208.5 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02477/5.236, allocations: 11.83 MB / 1.576 GB, free: 206.9 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02622/5.262, allocations: 16.57 MB / 1.592 GB, free: 196.7 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04577/5.308, allocations: 29.74 MB / 1.621 GB, free: 180.5 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000207/5.308, allocations: 43.81 kB / 1.621 GB, free: 180.5 MB / 0.6389 GB Notification: Performance of matching and sorting (n=1891) (initialization): time 0.4021/5.71, allocations: 81.4 MB / 1.7 GB, free: 118 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/5.71, allocations: 68 kB / 1.701 GB, free: 117.9 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000321/5.71, allocations: 148 kB / 1.701 GB, free: 117.8 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05434/5.765, allocations: 22.37 MB / 1.723 GB, free: 95.62 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0164/5.781, allocations: 3.732 MB / 1.726 GB, free: 91.88 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6307/6.412, allocations: 93.9 MB / 1.818 GB, free: 176.4 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02082/6.433, allocations: 0.8302 MB / 1.819 GB, free: 176.2 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006931/6.439, allocations: 0.9279 MB / 1.82 GB, free: 176.1 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 (1843): * Single equations (assignments): 1840 * 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.01849/6.458, allocations: 5.388 MB / 1.825 GB, free: 174.1 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007239/6.465, allocations: 1.111 MB / 1.826 GB, free: 174.1 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2608/6.726, allocations: 48.49 MB / 1.873 GB, free: 158.9 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/6.726, allocations: 125.4 kB / 1.873 GB, free: 158.9 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001147/6.726, allocations: 20.36 kB / 1.873 GB, free: 158.9 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004427/6.727, allocations: 59.77 kB / 1.873 GB, free: 158.8 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2971/7.024, allocations: 72.96 MB / 1.945 GB, free: 96.32 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001408/7.024, allocations: 4 kB / 1.945 GB, free: 96.32 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01373/7.038, allocations: 2.414 MB / 1.947 GB, free: 93.91 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02978/7.068, allocations: 11.92 MB / 1.959 GB, free: 82.2 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004888/7.072, allocations: 479.5 kB / 1.959 GB, free: 81.73 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09852/7.171, allocations: 46.9 MB / 2.005 GB, free: 34.55 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/7.171, allocations: 4 kB / 2.005 GB, free: 34.54 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6968/7.868, allocations: 62.7 MB / 2.066 GB, free: 177.5 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01327/7.881, allocations: 3.35 MB / 2.069 GB, free: 176.5 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006928/7.888, allocations: 296 kB / 2.07 GB, free: 176.4 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01533/7.903, allocations: 0.5205 MB / 2.07 GB, free: 176.2 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0105/7.914, allocations: 1.51 MB / 2.072 GB, free: 176 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005495/7.919, allocations: 471.3 kB / 2.072 GB, free: 175.9 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.01652/7.936, allocations: 6.971 MB / 2.079 GB, free: 173.5 MB / 0.6389 GB Notification: Performance of sort global known variables: time 2.21e-07/7.936, allocations: 0 / 2.079 GB, free: 173.5 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.03515/7.971, allocations: 6.724 MB / 2.086 GB, free: 173 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 (1235): * Single equations (assignments): 1232 * 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.0122/7.983, allocations: 3.575 MB / 2.089 GB, free: 172.5 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.06933/8.052, allocations: 26.4 MB / 2.115 GB, free: 160.4 MB / 0.6389 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/8.053, allocations: 0 / 2.115 GB, free: 160.4 MB / 0.6389 GB Notification: Performance of simCode: created simulation system equations: time 0.0388/8.091, allocations: 13.63 MB / 2.128 GB, free: 146.7 MB / 0.6389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02155/8.113, allocations: 2.502 MB / 2.131 GB, free: 144.5 MB / 0.6389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08535/8.198, allocations: 38.51 MB / 2.168 GB, free: 106 MB / 0.6389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01468/8.213, allocations: 9.946 MB / 2.178 GB, free: 96.12 MB / 0.6389 GB Notification: Performance of simCode: alias equations: time 0.01722/8.23, allocations: 5.219 MB / 2.183 GB, free: 91.04 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007469/8.238, allocations: 1.44 MB / 2.184 GB, free: 89.6 MB / 0.6389 GB Notification: Performance of SimCode: time 1.833e-06/8.238, allocations: 0 / 2.184 GB, free: 89.6 MB / 0.6389 GB Notification: Performance of Templates: time 1.128/9.365, allocations: 324.7 MB / 2.502 GB, free: 192.3 MB / 0.6545 GB " [Timeout remaining time 651] make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.854779133573174]