Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.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.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.689/1.689, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3994/0.3994, allocations: 15.32 MB / 305.7 MB, free: 15.26 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001997, allocations: 63.91 kB / 370.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 53.61 MB / 423.9 MB, free: 14.29 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.EnzymeKinetics): time 0.5515/0.7072, allocations: 26.96 MB / 450.9 MB, free: 39.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.7262, allocations: 19.46 MB / 470.4 MB, free: 29.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.728, allocations: 15.53 kB / 470.4 MB, free: 29.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.7294, allocations: 422.4 kB / 470.8 MB, free: 28.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.7358, allocations: 1.631 MB / 472.4 MB, free: 27.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008389/0.7442, allocations: 2.493 MB / 474.9 MB, free: 26.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.7473, allocations: 1.963 MB / 476.9 MB, free: 25.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.7488, allocations: 1.119 MB / 478 MB, free: 24.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.7501, allocations: 0.9881 MB / 479 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.7516, allocations: 1.116 MB / 480.1 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.752, allocations: 172.7 kB / 480.3 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/0.7615, allocations: 2.158 MB / 482.4 MB, free: 23.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009493/0.7625, allocations: 425.6 kB / 482.8 MB, free: 23.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.7641, allocations: 0.8654 MB / 483.7 MB, free: 22.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.7768, allocations: 4.079 MB / 487.8 MB, free: 21.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7769, allocations: 0 / 487.8 MB, free: 21.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7769, allocations: 1.125 kB / 487.8 MB, free: 21.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.7769, allocations: 4 kB / 487.8 MB, free: 21.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006115/0.7831, allocations: 2.195 MB / 490 MB, free: 19.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.7831, allocations: 14.23 kB / 490 MB, free: 19.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.785, allocations: 330 kB / 490.3 MB, free: 19.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.7868, allocations: 0.7879 MB / 491.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.787, allocations: 157.8 kB / 491.3 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.7873, allocations: 141.1 kB / 491.4 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.7902, allocations: 1.713 MB / 493.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.7903, allocations: 4.875 kB / 493.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.7904, allocations: 51 kB / 493.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.7904, allocations: 32.38 kB / 493.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.7933, allocations: 2.187 MB / 495.4 MB, free: 17.67 MB / 366.1 MB 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.008454/0.8018, allocations: 5.521 MB / 0.4892 GB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.8063, allocations: 3.227 MB / 0.4923 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.8074, allocations: 0.8212 MB / 0.4931 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008844/0.8163, allocations: 6.998 MB / 0.5 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8163, allocations: 48 kB / 0.5 GB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006109/0.8169, allocations: 127.4 kB / 0.5001 GB, free: 6.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.285e-06/0.8169, allocations: 0 / 0.5001 GB, free: 6.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01591/0.8329, allocations: 4.506 MB / 0.5045 GB, free: 2.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.8329, allocations: 64.41 kB / 0.5046 GB, free: 2.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.8341, allocations: 0.7353 MB / 0.5053 GB, free: 1.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.8342, allocations: 45.7 kB / 0.5053 GB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.8345, allocations: 0.6344 MB / 0.506 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.8348, allocations: 410.1 kB / 0.5064 GB, free: 176 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.8352, allocations: 291.3 kB / 0.5066 GB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.8354, allocations: 353.9 kB / 0.507 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.8364, allocations: 479.8 kB / 0.5074 GB, free: 15.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.8379, allocations: 0.9918 MB / 0.5084 GB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.8407, allocations: 1.573 MB / 0.5099 GB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.8407, allocations: 8 kB / 0.5099 GB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006154/0.8469, allocations: 1.991 MB / 0.5119 GB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.8469, allocations: 20.05 kB / 0.5119 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.847, allocations: 16 kB / 0.5119 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.8495, allocations: 442.1 kB / 0.5123 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.851, allocations: 371.4 kB / 0.5127 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/0.8573, allocations: 3.877 MB / 0.5165 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.8587, allocations: 51.98 kB / 0.5165 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.8589, allocations: 87.97 kB / 0.5166 GB, free: 4.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006959/0.8596, allocations: 322.7 kB / 0.5169 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.8599, allocations: 110.6 kB / 0.517 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/0.8658, allocations: 1.811 MB / 0.5188 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.8659, allocations: 12 kB / 0.5188 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8659, allocations: 0 / 0.5188 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.8659, allocations: 7.969 kB / 0.5188 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.8684, allocations: 1.342 MB / 0.5201 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.8684, allocations: 4 kB / 0.5201 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009065/0.8693, allocations: 231.6 kB / 0.5204 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.8718, allocations: 418.2 kB / 0.5208 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.872, allocations: 43.97 kB / 0.5208 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.8775, allocations: 3.791 MB / 0.5245 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-06/0.8776, allocations: 11.88 kB / 0.5245 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.8842, allocations: 2.344 MB / 0.5268 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.8849, allocations: 287.6 kB / 0.5271 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.885, allocations: 20 kB / 0.5271 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.8857, allocations: 35.92 kB / 0.5271 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.886, allocations: 112.8 kB / 0.5272 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8861, allocations: 47.97 kB / 0.5273 GB, free: 9.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006564/0.8868, allocations: 479 kB / 0.5277 GB, free: 9.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8868, allocations: 3.938 kB / 0.5277 GB, free: 9.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00288/0.8896, allocations: 0.8276 MB / 0.5285 GB, free: 8.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,liquidWater.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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/0.8916, allocations: 0.9039 MB / 0.5294 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.8956, allocations: 1.787 MB / 0.5312 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8956, allocations: 0 / 0.5312 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.8972, allocations: 0.9931 MB / 0.5321 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.8985, allocations: 243.7 kB / 0.5324 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.9028, allocations: 2.417 MB / 0.5347 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.9036, allocations: 1.125 MB / 0.5358 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001285/0.9049, allocations: 300.9 kB / 0.5361 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.9053, allocations: 175.3 kB / 0.5363 GB, free: 140 kB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.9053, allocations: 0 / 0.5363 GB, free: 140 kB / 398.1 MB Notification: Performance of Templates: time 0.04631/0.9516, allocations: 28.31 MB / 0.5639 GB, free: 3.914 MB / 430.1 MB make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)