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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.0009236/0.0009236, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001413/0.001413, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2073/0.2073, allocations: 15.25 MB / 306.2 MB, free: 15.79 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003152, allocations: 8 kB / 371.4 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 54.62 MB / 426 MB, free: 39.83 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011: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.0-master/package.mo:3011:6-3011: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.007708/0.3304, allocations: 6.186 MB / 432.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3479, allocations: 16.41 MB / 448.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.3502, allocations: 28.91 kB / 448.6 MB, free: 26.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.3521, allocations: 391.8 kB / 449 MB, free: 26.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.358, allocations: 1.593 MB / 450.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007294/0.3653, allocations: 2.215 MB / 452.8 MB, free: 24.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.368, allocations: 1.314 MB / 454.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.3694, allocations: 0.8742 MB / 455 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.3708, allocations: 0.7222 MB / 455.7 MB, free: 22.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.3725, allocations: 0.9593 MB / 456.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004133/0.373, allocations: 96.11 kB / 456.8 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008155/0.3811, allocations: 2.338 MB / 459.1 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.3817, allocations: 335.9 kB / 459.4 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006745/0.3824, allocations: 288.9 kB / 459.7 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006002/0.3884, allocations: 2.439 MB / 462.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3884, allocations: 0 / 462.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3885, allocations: 1.344 kB / 462.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3886, allocations: 0 / 462.1 MB, free: 21.04 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.006075/0.3947, allocations: 1.834 MB / 464 MB, free: 19.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3947, allocations: 16.45 kB / 464 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.3967, allocations: 335.3 kB / 464.3 MB, free: 19.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.398, allocations: 0.7117 MB / 465 MB, free: 19.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3982, allocations: 156.6 kB / 465.2 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.3985, allocations: 143 kB / 465.3 MB, free: 19.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.4014, allocations: 1.688 MB / 467 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.4014, allocations: 0 / 467 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.4015, allocations: 55.41 kB / 467.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.4016, allocations: 36.86 kB / 467.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.4054, allocations: 2.175 MB / 469.3 MB, free: 17.82 MB / 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.009595/0.415, allocations: 5.411 MB / 474.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/0.4204, allocations: 3.209 MB / 477.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009947/0.4304, allocations: 6.795 MB / 484.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.4305, allocations: 48.7 kB / 484.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000829/0.4313, allocations: 122.2 kB / 484.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 4.008e-06/0.4313, allocations: 0 / 484.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01794/0.4493, allocations: 4.535 MB / 489.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.4494, allocations: 64.41 kB / 489.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.4502, allocations: 0.7227 MB / 490.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.4503, allocations: 49.7 kB / 490.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.4505, allocations: 0.6422 MB / 490.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.4507, allocations: 406.1 kB / 491.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.4508, allocations: 36 kB / 491.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4509, allocations: 418.7 kB / 491.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.4516, allocations: 471.8 kB / 492.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.4524, allocations: 0.9723 MB / 493.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.4532, allocations: 0.6042 MB / 493.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4532, allocations: 4 kB / 493.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005391/0.4586, allocations: 1.991 MB / 495.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.4587, allocations: 12 kB / 495.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.4587, allocations: 20.09 kB / 495.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.4615, allocations: 454.1 kB / 496.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4628, allocations: 375.4 kB / 496.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/0.4682, allocations: 3.551 MB / 0.4884 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4696, allocations: 87.92 kB / 0.4885 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.4698, allocations: 91.97 kB / 0.4886 GB, free: 9.887 MB / 366.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005736/0.4704, allocations: 317.2 kB / 0.4889 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4706, allocations: 111.1 kB / 0.489 GB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005721/0.4763, allocations: 1.817 MB / 0.4908 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.4763, allocations: 12 kB / 0.4908 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4763, allocations: 0 / 0.4908 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4764, allocations: 3.984 kB / 0.4908 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.4786, allocations: 1.35 MB / 0.4921 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4786, allocations: 0 / 0.4921 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.4795, allocations: 231.7 kB / 0.4923 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.4821, allocations: 434.2 kB / 0.4927 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.4823, allocations: 39.98 kB / 0.4928 GB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004793/0.4871, allocations: 3.465 MB / 0.4962 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4871, allocations: 8 kB / 0.4962 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006198/0.4933, allocations: 2.39 MB / 0.4985 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.494, allocations: 275.7 kB / 0.4988 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.4942, allocations: 23.94 kB / 0.4988 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.4948, allocations: 51.78 kB / 0.4988 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.4951, allocations: 112.8 kB / 0.4989 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/0.4952, allocations: 51.97 kB / 0.499 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005386/0.4957, allocations: 475 kB / 0.4994 GB, free: 14.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4958, allocations: 0 / 0.4994 GB, free: 14.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002497/0.4983, allocations: 0.7963 MB / 0.5002 GB, free: 13.51 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.4998, allocations: 0.8922 MB / 0.5011 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.5023, allocations: 1.658 MB / 0.5027 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5024, allocations: 0 / 0.5027 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.5037, allocations: 0.9966 MB / 0.5037 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5048, allocations: 203.3 kB / 0.5039 GB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.5088, allocations: 2.946 MB / 0.5068 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.5095, allocations: 1.162 MB / 0.5079 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.5107, allocations: 306.5 kB / 0.5082 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.5111, allocations: 175.3 kB / 0.5084 GB, free: 5.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5111, allocations: 4 kB / 0.5084 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.03585/0.5469, allocations: 26.03 MB / 0.5338 GB, free: 11.07 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: