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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 108.3 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 193.8 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08025/0.08025, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.95 kB / 371.7 MB, free: 50.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.1001, allocations: 53.62 MB / 425.4 MB, free: 13.3 MB / 302.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.04492/0.145, allocations: 41.39 MB / 466.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.453, allocations: 72.7 MB / 0.5268 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.4576, allocations: 59.84 kB / 0.5269 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005158/0.4628, allocations: 1.62 MB / 0.5285 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.4811, allocations: 5.924 MB / 0.5342 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03003/0.5111, allocations: 10.21 MB / 0.5442 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0262/0.5373, allocations: 26.7 MB / 0.5703 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02866/0.5661, allocations: 21.97 MB / 0.5917 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02876/0.5949, allocations: 17.46 MB / 0.6088 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03119/0.6261, allocations: 16.2 MB / 0.6246 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01204/0.6382, allocations: 3.094 MB / 0.6276 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04682/0.6851, allocations: 10.69 MB / 0.6381 GB, free: 6.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01865/0.7038, allocations: 6.986 MB / 0.6449 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03297/0.7368, allocations: 12.15 MB / 0.6568 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5528/1.29, allocations: 42 MB / 0.6978 GB, free: 83.98 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.29, allocations: 0 / 0.6978 GB, free: 83.98 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.474e-06/1.29, allocations: 0 / 0.6978 GB, free: 83.98 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001239/1.291, allocations: 2.219 kB / 0.6978 GB, free: 83.98 MB / 0.4982 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.08755/1.378, allocations: 24.76 MB / 0.722 GB, free: 77.81 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.379, allocations: 10.09 kB / 0.722 GB, free: 77.81 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02575/1.404, allocations: 3.893 MB / 0.7258 GB, free: 76.88 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03271/1.437, allocations: 12.02 MB / 0.7375 GB, free: 75.28 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002061/1.439, allocations: 2.137 MB / 0.7396 GB, free: 74.15 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0112/1.45, allocations: 1.529 MB / 0.7411 GB, free: 74.12 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08546/1.536, allocations: 34.79 MB / 0.7751 GB, free: 51.61 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006401/1.536, allocations: 10.19 kB / 0.7751 GB, free: 51.6 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0102/1.547, allocations: 0.5859 MB / 0.7756 GB, free: 51.02 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/1.547, allocations: 362.8 kB / 0.776 GB, free: 50.66 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08356/1.631, allocations: 46.84 MB / 0.8217 GB, free: 3.836 MB / 0.4982 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.5788/2.209, allocations: 127.9 MB / 0.9466 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7526/2.962, allocations: 276 MB / 1.216 GB, free: 162.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03557/2.998, allocations: 19.81 MB / 1.236 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.153/3.151, allocations: 87.47 MB / 1.321 GB, free: 98.48 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.983e-05/3.151, allocations: 138.3 kB / 1.321 GB, free: 98.34 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02017/3.171, allocations: 4.512 MB / 1.326 GB, free: 93.93 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=995): time 5.73e-05/3.171, allocations: 0 / 1.326 GB, free: 93.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1129): time 0.9261/4.097, allocations: 130.7 MB / 1.453 GB, free: 205.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/4.097, allocations: 173.5 kB / 1.453 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/4.11, allocations: 10.15 MB / 1.463 GB, free: 200.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.004021/4.114, allocations: 214 kB / 1.463 GB, free: 200.1 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004081/4.118, allocations: 6.886 MB / 1.47 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.007323/4.125, allocations: 3.907 MB / 1.474 GB, free: 192.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0102/4.136, allocations: 3.265 MB / 1.477 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/4.136, allocations: 301.1 kB / 1.477 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0203/4.156, allocations: 11.82 MB / 1.489 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02353/4.18, allocations: 16.55 MB / 1.505 GB, free: 170.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0408/4.22, allocations: 29.74 MB / 1.534 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000183/4.221, allocations: 40 kB / 1.534 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.6455/4.866, allocations: 81.46 MB / 1.614 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/4.866, allocations: 68.5 kB / 1.614 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/4.867, allocations: 148.5 kB / 1.614 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05597/4.922, allocations: 22.39 MB / 1.636 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01617/4.939, allocations: 3.727 MB / 1.639 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1737/5.112, allocations: 93.96 MB / 1.731 GB, free: 126 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01942/5.132, allocations: 0.8377 MB / 1.732 GB, free: 125.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006075/5.138, allocations: 0.9289 MB / 1.733 GB, free: 124.3 MB / 0.5763 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.01558/5.154, allocations: 5.378 MB / 1.738 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007665/5.161, allocations: 1.056 MB / 1.739 GB, free: 118.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2662/5.428, allocations: 48.61 MB / 1.787 GB, free: 70.22 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001408/5.428, allocations: 120 kB / 1.787 GB, free: 70.11 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001333/5.428, allocations: 20 kB / 1.787 GB, free: 70.09 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004493/5.428, allocations: 59.77 kB / 1.787 GB, free: 70.03 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5313/5.96, allocations: 73.04 MB / 1.858 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001266/5.96, allocations: 3.875 kB / 1.858 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01473/5.975, allocations: 2.416 MB / 1.861 GB, free: 178.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03102/6.006, allocations: 11.89 MB / 1.872 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004264/6.01, allocations: 472.8 kB / 1.873 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1061/6.116, allocations: 46.93 MB / 1.918 GB, free: 134.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/6.116, allocations: 7.969 kB / 1.918 GB, free: 134.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2662/6.382, allocations: 62.73 MB / 1.98 GB, free: 71.85 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0123/6.395, allocations: 3.298 MB / 1.983 GB, free: 69.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006526/6.401, allocations: 294 kB / 1.983 GB, free: 68.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01274/6.414, allocations: 0.5269 MB / 1.984 GB, free: 68.32 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006908/6.421, allocations: 1.507 MB / 1.985 GB, free: 66.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003212/6.424, allocations: 471.6 kB / 1.986 GB, free: 66.34 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0112/6.435, allocations: 6.966 MB / 1.992 GB, free: 59.43 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.51e-07/6.435, allocations: 0 / 1.992 GB, free: 59.43 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.3013/6.737, allocations: 6.675 MB / 1.999 GB, free: 194 MB / 0.5763 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.01126/6.748, allocations: 3.543 MB / 2.002 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06862/6.817, allocations: 27.8 MB / 2.03 GB, free: 188.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/6.817, allocations: 0 / 2.03 GB, free: 188.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.03862/6.855, allocations: 14.87 MB / 2.044 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02368/6.879, allocations: 2.504 MB / 2.047 GB, free: 182 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08546/6.965, allocations: 37.84 MB / 2.084 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/6.979, allocations: 9.937 MB / 2.093 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0263/7.005, allocations: 5.231 MB / 2.098 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01216/7.018, allocations: 1.438 MB / 2.1 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.934e-06/7.018, allocations: 3.938 kB / 2.1 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.9111/7.929, allocations: 316.5 MB / 2.409 GB, free: 183.3 MB / 0.5763 GB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.makefile (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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe 2>&1)