Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.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.HemoglobinCarboxylation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation") translateModel(Chemical.Examples.Hemoglobin.HemoglobinCarboxylation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001662, allocations: 106.7 kB / 16.41 MB, free: 6.457 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.001926/0.001926, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08084/0.08085, allocations: 15.31 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 425.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08641, allocations: 53.62 MB / 479.5 MB, free: 5.859 MB / 350.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.HemoglobinCarboxylation): time 0.4029/0.4893, allocations: 41.65 MB / 0.5089 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.07276/0.5621, allocations: 72.72 MB / 0.58 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.566, allocations: 59.03 kB / 0.58 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.5708, allocations: 1.625 MB / 0.5816 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01741/0.5883, allocations: 5.971 MB / 0.5874 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02814/0.6164, allocations: 10.28 MB / 0.5975 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02788/0.6443, allocations: 26.7 MB / 0.6235 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02413/0.6685, allocations: 21.97 MB / 0.645 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02479/0.6933, allocations: 17.48 MB / 0.6621 GB, free: 7.82 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02711/0.7205, allocations: 16.19 MB / 0.6779 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01009/0.7306, allocations: 3.09 MB / 0.6809 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03539/0.766, allocations: 10.7 MB / 0.6913 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01272/0.7788, allocations: 6.981 MB / 0.6982 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02315/0.802, allocations: 12.16 MB / 0.71 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3382/1.14, allocations: 42.2 MB / 0.7513 GB, free: 59.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.14, allocations: 3.688 kB / 0.7513 GB, free: 59.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/1.14, allocations: 0 / 0.7513 GB, free: 59.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000953/1.141, allocations: 0 / 0.7513 GB, free: 59.99 MB / 0.545 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.08384/1.225, allocations: 24.73 MB / 0.7754 GB, free: 53.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.225, allocations: 7.906 kB / 0.7754 GB, free: 53.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/1.252, allocations: 3.892 MB / 0.7792 GB, free: 51.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02988/1.281, allocations: 12 MB / 0.7909 GB, free: 48.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001819/1.283, allocations: 2.137 MB / 0.793 GB, free: 46.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01127/1.295, allocations: 1.528 MB / 0.7945 GB, free: 46.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07984/1.374, allocations: 34.79 MB / 0.8285 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006059/1.375, allocations: 10.84 kB / 0.8285 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008397/1.384, allocations: 0.5859 MB / 0.8291 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/1.384, allocations: 360 kB / 0.8294 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09021/1.474, allocations: 46.84 MB / 0.8751 GB, free: 15.54 MB / 0.5919 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.5547/2.029, allocations: 127.8 MB / 1 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.807/2.836, allocations: 276 MB / 1.27 GB, free: 221.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03327/2.869, allocations: 19.81 MB / 1.289 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.153/3.022, allocations: 87.47 MB / 1.374 GB, free: 158.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.514e-05/3.022, allocations: 134.3 kB / 1.374 GB, free: 158.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01928/3.042, allocations: 4.513 MB / 1.379 GB, free: 153.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=995): time 4.69e-05/3.042, allocations: 0 / 1.379 GB, free: 153.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1129): time 0.7246/3.766, allocations: 135.9 MB / 1.512 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/3.766, allocations: 168.2 kB / 1.512 GB, free: 18.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/3.782, allocations: 10.16 MB / 1.522 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.004601/3.786, allocations: 212.8 kB / 1.522 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.004251/3.791, allocations: 6.896 MB / 1.529 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.2487/4.039, allocations: 3.901 MB / 1.532 GB, free: 242.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008202/4.048, allocations: 3.261 MB / 1.536 GB, free: 242.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/4.048, allocations: 301.7 kB / 1.536 GB, free: 242.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02017/4.068, allocations: 11.83 MB / 1.547 GB, free: 240.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02114/4.089, allocations: 16.55 MB / 1.564 GB, free: 230.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04203/4.131, allocations: 29.74 MB / 1.593 GB, free: 214 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/4.131, allocations: 44.06 kB / 1.593 GB, free: 214 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.4516/4.583, allocations: 81.46 MB / 1.672 GB, free: 145.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/4.583, allocations: 68 kB / 1.672 GB, free: 145.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/4.583, allocations: 148 kB / 1.672 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05955/4.643, allocations: 22.38 MB / 1.694 GB, free: 123.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/4.66, allocations: 3.726 MB / 1.698 GB, free: 119.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4549/5.115, allocations: 93.95 MB / 1.79 GB, free: 210.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/5.134, allocations: 0.8345 MB / 1.79 GB, free: 210.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004611/5.139, allocations: 0.9366 MB / 1.791 GB, free: 210.2 MB / 0.6544 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.01242/5.151, allocations: 5.378 MB / 1.797 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003734/5.155, allocations: 1.057 MB / 1.798 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2695/5.425, allocations: 48.6 MB / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005085/5.425, allocations: 61.88 kB / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/5.425, allocations: 0 / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01215/5.437, allocations: 3.289 MB / 1.848 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006206/5.444, allocations: 291 kB / 1.849 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01437/5.458, allocations: 0.5438 MB / 1.849 GB, free: 196.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01425/5.472, allocations: 3.601 MB / 1.853 GB, free: 195.9 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06439/5.537, allocations: 25.8 MB / 1.878 GB, free: 179 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06753/5.604, allocations: 38.1 MB / 1.915 GB, free: 141 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01821/5.623, allocations: 11.54 MB / 1.926 GB, free: 129.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01337/5.636, allocations: 6.966 MB / 1.933 GB, free: 122.5 MB / 0.6544 GB Notification: Performance of Backend: time 6.42e-07/5.636, allocations: 3.875 kB / 1.933 GB, free: 122.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.06948/5.705, allocations: 22.42 MB / 1.955 GB, free: 101.5 MB / 0.6544 GB Notification: Performance of SimCode: time 0.04995/5.755, allocations: 29.61 MB / 1.984 GB, free: 72.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.8509/6.606, allocations: 332.3 MB / 2.309 GB, free: 227.4 MB / 0.6544 GB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.makefile (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe 2>&1)