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.001003/0.001004, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007506/0.007506, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2085/0.2085, allocations: 15.27 MB / 306.7 MB, free: 15.74 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005232, allocations: 8.234 kB / 372.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2844, allocations: 54.63 MB / 426.7 MB, free: 40.2 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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:3019:6-3019:65: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.02478/0.3093, allocations: 25.82 MB / 452.5 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.3277, allocations: 19.21 MB / 471.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.3294, allocations: 30.25 kB / 471.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.331, allocations: 381.5 kB / 472.1 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.3373, allocations: 1.422 MB / 473.6 MB, free: 16.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007268/0.3446, allocations: 2.181 MB / 475.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.3477, allocations: 1.918 MB / 477.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.3496, allocations: 0.9287 MB / 478.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.3514, allocations: 0.9011 MB / 479.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.353, allocations: 1.033 MB / 480.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.3535, allocations: 96 kB / 480.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007314/0.3608, allocations: 2.09 MB / 482.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.3614, allocations: 351.7 kB / 483.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3625, allocations: 0.7934 MB / 483.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008294/0.3708, allocations: 3.797 MB / 487.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3708, allocations: 4 kB / 487.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3708, allocations: 0 / 487.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.788e-05/0.3709, allocations: 0 / 487.7 MB, free: 6.57 MB / 350.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.00435/0.3753, allocations: 1.847 MB / 489.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3753, allocations: 8.031 kB / 489.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.377, allocations: 342 kB / 489.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3783, allocations: 0.7578 MB / 490.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3785, allocations: 159.7 kB / 490.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.3788, allocations: 137.3 kB / 490.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.3821, allocations: 1.713 MB / 492.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.3821, allocations: 4 kB / 492.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.3823, allocations: 52.7 kB / 492.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3823, allocations: 32 kB / 492.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.3857, allocations: 2.184 MB / 494.9 MB, free: 228 kB / 350.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.01024/0.3959, allocations: 5.452 MB / 0.4886 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/0.4014, allocations: 3.234 MB / 0.4918 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4028, allocations: 0.8169 MB / 0.4926 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.413, allocations: 6.859 MB / 0.4993 GB, free: 252 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4131, allocations: 47.44 kB / 0.4993 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006456/0.4137, allocations: 134.8 kB / 0.4994 GB, free: 60 kB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 5.481e-06/0.4137, allocations: 0 / 0.4994 GB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01931/0.4331, allocations: 4.539 MB / 0.5039 GB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4331, allocations: 60.41 kB / 0.5039 GB, free: 11.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.4341, allocations: 0.7353 MB / 0.5046 GB, free: 10.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4343, allocations: 49.69 kB / 0.5047 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.4347, allocations: 0.646 MB / 0.5053 GB, free: 9.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.4352, allocations: 402.2 kB / 0.5057 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4354, allocations: 121.6 kB / 0.5058 GB, free: 9.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4355, allocations: 357.9 kB / 0.5062 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008924/0.4364, allocations: 479.8 kB / 0.5066 GB, free: 8.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.4376, allocations: 0.9801 MB / 0.5076 GB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.4399, allocations: 1.577 MB / 0.5091 GB, free: 5.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.44, allocations: 4 kB / 0.5091 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006257/0.4462, allocations: 2.002 MB / 0.5111 GB, free: 3.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4463, allocations: 12 kB / 0.5111 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4463, allocations: 16 kB / 0.5111 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.4493, allocations: 462 kB / 0.5115 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4506, allocations: 371.4 kB / 0.5119 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.4568, allocations: 3.528 MB / 0.5153 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4582, allocations: 95.95 kB / 0.5154 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.4585, allocations: 87.97 kB / 0.5155 GB, free: 14.68 MB / 398.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.000874/0.4594, allocations: 313.2 kB / 0.5158 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.4597, allocations: 114.6 kB / 0.5159 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006401/0.4661, allocations: 1.819 MB / 0.5177 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4662, allocations: 15.94 kB / 0.5177 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4662, allocations: 0 / 0.5177 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.4662, allocations: 11.92 kB / 0.5177 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.4684, allocations: 1.33 MB / 0.519 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4684, allocations: 4 kB / 0.519 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/0.4694, allocations: 231.6 kB / 0.5192 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/0.4723, allocations: 450.1 kB / 0.5197 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.4724, allocations: 35.98 kB / 0.5197 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/0.4776, allocations: 3.425 MB / 0.5231 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4777, allocations: 7.969 kB / 0.5231 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.4847, allocations: 2.356 MB / 0.5254 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000886/0.4857, allocations: 279.6 kB / 0.5256 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.486, allocations: 27.94 kB / 0.5257 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.487, allocations: 43.91 kB / 0.5257 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/0.4874, allocations: 113 kB / 0.5258 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.4875, allocations: 51.97 kB / 0.5259 GB, free: 3.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008789/0.4884, allocations: 479 kB / 0.5263 GB, free: 3.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4884, allocations: 4 kB / 0.5263 GB, free: 3.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003338/0.4918, allocations: 0.8119 MB / 0.5271 GB, free: 2.379 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.002595/0.4944, allocations: 0.9285 MB / 0.528 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.4977, allocations: 1.673 MB / 0.5297 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4977, allocations: 0 / 0.5297 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4992, allocations: 0.9966 MB / 0.5306 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.5008, allocations: 231.8 kB / 0.5308 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.5055, allocations: 3.055 MB / 0.5338 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.5063, allocations: 1.125 MB / 0.5349 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.5076, allocations: 301 kB / 0.5352 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.508, allocations: 187.3 kB / 0.5354 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.508, allocations: 0 / 0.5354 GB, free: 9.723 MB / 414.1 MB Notification: Performance of Templates: time 0.04232/0.5504, allocations: 27.3 MB / 0.5621 GB, free: 14.5 MB / 446.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)