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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 152 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.001134/0.001134, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.158/1.158, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1575/0.1575, allocations: 15.32 MB / 305.7 MB, free: 15.27 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.91 kB / 370.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.08146, 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.2675/0.349, allocations: 26.39 MB / 450.3 MB, free: 39.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3625, allocations: 19.45 MB / 469.8 MB, free: 29.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.3631, allocations: 18.75 kB / 469.8 MB, free: 29.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007585/0.3639, allocations: 421.5 kB / 470.2 MB, free: 29.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.3666, allocations: 1.638 MB / 471.8 MB, free: 28.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.3712, allocations: 2.496 MB / 474.3 MB, free: 27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.3727, allocations: 1.96 MB / 476.3 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.3736, allocations: 1.111 MB / 477.4 MB, free: 25.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.3743, allocations: 0.9912 MB / 478.4 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009874/0.3753, allocations: 1.114 MB / 479.5 MB, free: 24.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.3755, allocations: 176.6 kB / 479.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.3804, allocations: 2.15 MB / 481.8 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.3807, allocations: 434.4 kB / 482.3 MB, free: 23.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.3813, allocations: 0.8564 MB / 483.1 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.386, allocations: 4.083 MB / 487.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3861, allocations: 0.75 kB / 487.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3861, allocations: 1.094 kB / 487.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.3861, allocations: 0 / 487.2 MB, free: 21.67 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.003503/0.3896, allocations: 2.202 MB / 489.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3896, allocations: 8.969 kB / 489.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.3909, allocations: 335.8 kB / 489.7 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.3919, allocations: 0.7793 MB / 490.5 MB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.392, allocations: 156.3 kB / 490.7 MB, free: 19.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3922, allocations: 142.8 kB / 490.8 MB, free: 19.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.3945, allocations: 1.713 MB / 492.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3946, allocations: 0.7031 kB / 492.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.3947, allocations: 51.66 kB / 492.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.3947, allocations: 31.88 kB / 492.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.3974, allocations: 2.186 MB / 494.8 MB, free: 18.25 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.006597/0.404, allocations: 5.528 MB / 0.4886 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.4079, allocations: 3.238 MB / 0.4918 GB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.4088, allocations: 0.8197 MB / 0.4926 GB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006775/0.4155, allocations: 6.989 MB / 0.4994 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.4156, allocations: 50.48 kB / 0.4994 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003627/0.4159, allocations: 130.8 kB / 0.4996 GB, free: 7.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.144e-06/0.416, allocations: 0 / 0.4996 GB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01423/0.4302, allocations: 4.503 MB / 0.5039 GB, free: 2.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.4302, allocations: 68.39 kB / 0.504 GB, free: 2.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.4308, allocations: 0.7275 MB / 0.5047 GB, free: 1.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.4309, allocations: 49.7 kB / 0.5048 GB, free: 1.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4311, allocations: 0.6384 MB / 0.5054 GB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.4312, allocations: 406.1 kB / 0.5058 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.4315, allocations: 295.3 kB / 0.5061 GB, free: 472 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.4316, allocations: 353.9 kB / 0.5064 GB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/0.4323, allocations: 479.8 kB / 0.5069 GB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/0.4333, allocations: 0.9879 MB / 0.5078 GB, free: 14.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.4352, allocations: 1.581 MB / 0.5094 GB, free: 12.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4352, allocations: 4 kB / 0.5094 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005011/0.4402, allocations: 1.994 MB / 0.5113 GB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4403, allocations: 12.19 kB / 0.5113 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4403, allocations: 20 kB / 0.5114 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.4426, allocations: 446 kB / 0.5118 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.4437, allocations: 371.4 kB / 0.5121 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.4484, allocations: 3.874 MB / 0.5159 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.4492, allocations: 48 kB / 0.516 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4494, allocations: 91.97 kB / 0.516 GB, free: 5.477 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.0004128/0.4498, allocations: 326.7 kB / 0.5164 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.45, allocations: 102.7 kB / 0.5165 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.4551, allocations: 1.811 MB / 0.5182 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.4551, allocations: 12 kB / 0.5182 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4551, allocations: 4 kB / 0.5182 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4551, allocations: 3.984 kB / 0.5182 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.4566, allocations: 1.342 MB / 0.5196 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4566, allocations: 0 / 0.5196 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/0.4575, allocations: 231.6 kB / 0.5198 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.4598, allocations: 418.2 kB / 0.5202 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.4599, allocations: 47.97 kB / 0.5202 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.4641, allocations: 3.779 MB / 0.5239 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4642, allocations: 11.95 kB / 0.5239 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4695, allocations: 2.34 MB / 0.5262 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.4699, allocations: 295.5 kB / 0.5265 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.47, allocations: 20 kB / 0.5265 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.4706, allocations: 35.92 kB / 0.5265 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.4708, allocations: 112.8 kB / 0.5267 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/0.4709, allocations: 51.97 kB / 0.5267 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004611/0.4714, allocations: 475 kB / 0.5272 GB, free: 9.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4714, allocations: 0 / 0.5272 GB, free: 9.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002038/0.4734, allocations: 0.8276 MB / 0.528 GB, free: 8.836 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.001332/0.4747, allocations: 0.9117 MB / 0.5289 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.4778, allocations: 1.783 MB / 0.5306 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4778, allocations: 0 / 0.5306 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.4791, allocations: 0.9966 MB / 0.5316 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.4801, allocations: 241.5 kB / 0.5318 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.4835, allocations: 2.421 MB / 0.5342 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.4841, allocations: 1.121 MB / 0.5353 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.4851, allocations: 296.9 kB / 0.5355 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.4854, allocations: 183.3 kB / 0.5357 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4854, allocations: 0 / 0.5357 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Templates: time 0.03415/0.5196, allocations: 28.31 MB / 0.5634 GB, free: 4.492 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)