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.001409/0.001409, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001613/0.001613, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08588/0.08588, allocations: 15.31 MB / 306.4 MB, free: 15.41 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 61.88 kB / 371 MB, free: 50.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 53.62 MB / 424.6 MB, free: 14 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.EnzymeKinetics): time 0.03235/0.1356, allocations: 26.38 MB / 451 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02125/0.1569, allocations: 19.46 MB / 470.4 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.1581, allocations: 19.88 kB / 470.5 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.1593, allocations: 420.9 kB / 470.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.164, allocations: 1.645 MB / 472.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006865/0.1709, allocations: 2.477 MB / 475 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.1738, allocations: 1.966 MB / 477 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.1753, allocations: 1.118 MB / 478.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1765, allocations: 0.9898 MB / 479.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.1781, allocations: 1.114 MB / 480.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.1784, allocations: 172 kB / 480.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007321/0.1858, allocations: 2.157 MB / 482.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006146/0.1864, allocations: 434.7 kB / 482.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.1875, allocations: 0.8556 MB / 483.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009922/0.1974, allocations: 4.087 MB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1975, allocations: 0 / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1975, allocations: 0 / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.1975, allocations: 0 / 487.9 MB, free: 14.66 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.004563/0.2021, allocations: 2.194 MB / 490.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2021, allocations: 8.031 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2036, allocations: 334.7 kB / 490.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2049, allocations: 0.7796 MB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.205, allocations: 162.6 kB / 491.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.2053, allocations: 140.2 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.208, allocations: 1.713 MB / 493.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.208, allocations: 4 kB / 493.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2082, allocations: 52 kB / 493.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.2082, allocations: 32 kB / 493.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.2116, allocations: 2.185 MB / 495.5 MB, free: 6.922 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.009334/0.2209, allocations: 5.515 MB / 0.4892 GB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.226, allocations: 3.229 MB / 0.4924 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.2272, allocations: 0.8128 MB / 0.4932 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009742/0.237, allocations: 7.008 MB / 0.5 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.2371, allocations: 47.5 kB / 0.5001 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005838/0.2377, allocations: 130.8 kB / 0.5002 GB, free: 5.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 6.071e-06/0.2377, allocations: 0 / 0.5002 GB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01762/0.2553, allocations: 4.496 MB / 0.5046 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2554, allocations: 64.41 kB / 0.5046 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2132/0.4686, allocations: 0.7236 MB / 0.5054 GB, free: 79.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.4689, allocations: 45.48 kB / 0.5054 GB, free: 79.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4692, allocations: 0.644 MB / 0.506 GB, free: 78.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.4696, allocations: 409.5 kB / 0.5064 GB, free: 78.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.47, allocations: 297.7 kB / 0.5067 GB, free: 78.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4701, allocations: 356.4 kB / 0.507 GB, free: 78.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009072/0.471, allocations: 480.4 kB / 0.5075 GB, free: 78.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.4723, allocations: 0.9873 MB / 0.5085 GB, free: 77.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.4746, allocations: 1.576 MB / 0.51 GB, free: 76.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.4746, allocations: 3.969 kB / 0.51 GB, free: 76.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005745/0.4804, allocations: 1.989 MB / 0.5119 GB, free: 75.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.4804, allocations: 22.56 kB / 0.512 GB, free: 75.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.4805, allocations: 16.34 kB / 0.512 GB, free: 75.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.4832, allocations: 430.9 kB / 0.5124 GB, free: 75.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.4847, allocations: 374.1 kB / 0.5128 GB, free: 75.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005104/0.4898, allocations: 3.868 MB / 0.5165 GB, free: 72.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4912, allocations: 60.98 kB / 0.5166 GB, free: 72.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.4914, allocations: 87.52 kB / 0.5167 GB, free: 72.31 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.0006184/0.492, allocations: 320.3 kB / 0.517 GB, free: 72.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4923, allocations: 104.6 kB / 0.5171 GB, free: 72.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/0.4984, allocations: 1.803 MB / 0.5188 GB, free: 71.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.4984, allocations: 16.91 kB / 0.5189 GB, free: 71.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4985, allocations: 1.594 kB / 0.5189 GB, free: 71.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.4985, allocations: 5.578 kB / 0.5189 GB, free: 71.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5006, allocations: 1.341 MB / 0.5202 GB, free: 70.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5006, allocations: 3.875 kB / 0.5202 GB, free: 70.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.5016, allocations: 230.8 kB / 0.5204 GB, free: 70.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.5041, allocations: 419.1 kB / 0.5208 GB, free: 70.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.5042, allocations: 45.58 kB / 0.5208 GB, free: 70.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.5089, allocations: 3.781 MB / 0.5245 GB, free: 67.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5089, allocations: 3.906 kB / 0.5245 GB, free: 67.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.5148, allocations: 2.351 MB / 0.5268 GB, free: 66.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.5154, allocations: 291.3 kB / 0.5271 GB, free: 65.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5155, allocations: 27.36 kB / 0.5271 GB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.5162, allocations: 24.52 kB / 0.5272 GB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.5165, allocations: 118.4 kB / 0.5273 GB, free: 65.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/0.5165, allocations: 50.78 kB / 0.5273 GB, free: 65.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005506/0.5171, allocations: 481.5 kB / 0.5278 GB, free: 65.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5171, allocations: 3.828 kB / 0.5278 GB, free: 65.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002569/0.5197, allocations: 0.8258 MB / 0.5286 GB, free: 65.54 MB / 382.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.001522/0.5212, allocations: 0.9153 MB / 0.5295 GB, free: 65.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5248, allocations: 1.783 MB / 0.5312 GB, free: 64.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5248, allocations: 2.656 kB / 0.5312 GB, free: 64.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.526, allocations: 0.9966 MB / 0.5322 GB, free: 63.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5272, allocations: 243.2 kB / 0.5324 GB, free: 63.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.5308, allocations: 2.457 MB / 0.5348 GB, free: 61.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.5312, allocations: 1.117 MB / 0.5359 GB, free: 60.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.5318, allocations: 244.7 kB / 0.5362 GB, free: 60.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5318, allocations: 0 / 0.5362 GB, free: 60.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03189/0.5637, allocations: 36.65 MB / 0.5719 GB, free: 24.37 MB / 382.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)