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.001285/0.001285, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001296/0.001296, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.271/1.271, 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.07463/0.07463, allocations: 15.3 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 56.09 kB / 425.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07895, allocations: 53.62 MB / 479.5 MB, free: 5.762 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.391/0.47, allocations: 41.58 MB / 0.5089 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.07128/0.5413, allocations: 72.71 MB / 0.5799 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.5448, allocations: 63.44 kB / 0.5799 GB, free: 5.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.5492, allocations: 1.619 MB / 0.5815 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01627/0.5655, allocations: 5.925 MB / 0.5873 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02587/0.5914, allocations: 10.21 MB / 0.5973 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02496/0.6163, allocations: 26.69 MB / 0.6233 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02445/0.6408, allocations: 21.97 MB / 0.6448 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02314/0.664, allocations: 17.48 MB / 0.6619 GB, free: 8.023 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02616/0.6902, allocations: 16.19 MB / 0.6777 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01017/0.7004, allocations: 3.094 MB / 0.6807 GB, free: 4.691 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03399/0.7344, allocations: 10.7 MB / 0.6911 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01141/0.7459, allocations: 6.973 MB / 0.698 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0207/0.7666, allocations: 12.15 MB / 0.7098 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2881/1.055, allocations: 42.21 MB / 0.751 GB, free: 60.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.055, allocations: 0 / 0.751 GB, free: 60.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/1.055, allocations: 2.594 kB / 0.751 GB, free: 60.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0008597/1.056, allocations: 0 / 0.751 GB, free: 60.1 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.08194/1.138, allocations: 24.73 MB / 0.7752 GB, free: 53.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.138, allocations: 9 kB / 0.7752 GB, free: 53.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02517/1.163, allocations: 3.9 MB / 0.779 GB, free: 51.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02427/1.187, allocations: 12 MB / 0.7907 GB, free: 48.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/1.189, allocations: 2.134 MB / 0.7928 GB, free: 47.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01107/1.2, allocations: 1.531 MB / 0.7943 GB, free: 47.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07912/1.279, allocations: 34.79 MB / 0.8283 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004442/1.279, allocations: 9.344 kB / 0.8283 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007789/1.287, allocations: 0.5859 MB / 0.8289 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/1.287, allocations: 360 kB / 0.8292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08719/1.375, allocations: 46.84 MB / 0.8749 GB, free: 15.71 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.4989/1.874, allocations: 127.8 MB / 0.9997 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7834/2.657, allocations: 276 MB / 1.269 GB, free: 221.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03185/2.689, allocations: 19.81 MB / 1.289 GB, free: 218.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1389/2.828, allocations: 87.46 MB / 1.374 GB, free: 158.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/2.828, allocations: 138.3 kB / 1.374 GB, free: 158.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01774/2.846, allocations: 4.51 MB / 1.379 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=995): time 4.222e-05/2.846, allocations: 4 kB / 1.379 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1129): time 0.6857/3.531, allocations: 135.9 MB / 1.511 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/3.532, allocations: 168.2 kB / 1.512 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/3.545, allocations: 10.15 MB / 1.521 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.004238/3.549, allocations: 213.7 kB / 1.522 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003865/3.553, allocations: 6.889 MB / 1.528 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.2462/3.8, allocations: 3.907 MB / 1.532 GB, free: 242.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009052/3.809, allocations: 3.26 MB / 1.535 GB, free: 242.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.685e-05/3.809, allocations: 302.1 kB / 1.536 GB, free: 242.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02157/3.83, allocations: 11.83 MB / 1.547 GB, free: 240.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/3.852, allocations: 16.56 MB / 1.563 GB, free: 230.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04105/3.893, allocations: 29.74 MB / 1.592 GB, free: 214 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/3.893, allocations: 45.16 kB / 1.592 GB, free: 214 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.4418/4.335, allocations: 81.46 MB / 1.672 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/4.335, allocations: 68.19 kB / 1.672 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/4.336, allocations: 152 kB / 1.672 GB, free: 145.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05773/4.393, allocations: 22.37 MB / 1.694 GB, free: 123 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/4.41, allocations: 3.729 MB / 1.698 GB, free: 119.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4055/4.816, allocations: 93.95 MB / 1.789 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/4.834, allocations: 0.8416 MB / 1.79 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004931/4.839, allocations: 0.933 MB / 1.791 GB, free: 210.4 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.01392/4.853, allocations: 5.373 MB / 1.796 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005015/4.858, allocations: 1.059 MB / 1.797 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2755/5.134, allocations: 48.59 MB / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004141/5.134, allocations: 61.27 kB / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/5.134, allocations: 0 / 1.845 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008937/5.143, allocations: 3.29 MB / 1.848 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003371/5.147, allocations: 290.4 kB / 1.848 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01068/5.157, allocations: 0.5441 MB / 1.849 GB, free: 196.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01146/5.169, allocations: 3.602 MB / 1.853 GB, free: 195.8 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05991/5.229, allocations: 25.8 MB / 1.878 GB, free: 178.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05758/5.286, allocations: 38.1 MB / 1.915 GB, free: 140.6 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01596/5.302, allocations: 11.54 MB / 1.926 GB, free: 129 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01137/5.314, allocations: 6.966 MB / 1.933 GB, free: 122.1 MB / 0.6544 GB Notification: Performance of Backend: time 6.81e-07/5.314, allocations: 0.5938 kB / 1.933 GB, free: 122.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0705/5.384, allocations: 22.43 MB / 1.955 GB, free: 101.1 MB / 0.6544 GB Notification: Performance of SimCode: time 0.05189/5.436, allocations: 29.6 MB / 1.984 GB, free: 71.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.7954/6.232, allocations: 332.3 MB / 2.308 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)