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.001133/0.001133, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001572/0.001572, allocations: 172.7 kB / 15.95 MB, free: 208 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.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1776/0.1776, allocations: 15.28 MB / 306.4 MB, free: 15.76 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 371.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2556, allocations: 54.63 MB / 426.1 MB, free: 40.24 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.005249/0.2609, allocations: 6.861 MB / 433 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.2744, allocations: 17.9 MB / 450.9 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2755, allocations: 28.75 kB / 450.9 MB, free: 25.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.2764, allocations: 375 kB / 451.3 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.2795, allocations: 1.448 MB / 452.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.284, allocations: 2.019 MB / 454.7 MB, free: 23.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.2858, allocations: 1.82 MB / 456.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008971/0.2868, allocations: 0.8873 MB / 457.4 MB, free: 22.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.2876, allocations: 0.7642 MB / 458.2 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2886, allocations: 1.004 MB / 459.2 MB, free: 21.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2888, allocations: 92.06 kB / 459.3 MB, free: 21.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.2937, allocations: 2.017 MB / 461.3 MB, free: 21.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.2941, allocations: 341 kB / 461.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.2944, allocations: 287.2 kB / 461.9 MB, free: 20.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.2981, allocations: 3.1 MB / 465 MB, free: 19.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2981, allocations: 1.531 kB / 465 MB, free: 19.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2981, allocations: 0 / 465 MB, free: 19.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.2982, allocations: 0 / 465 MB, free: 19.51 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.003667/0.3018, allocations: 1.847 MB / 466.9 MB, free: 18.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3019, allocations: 10.42 kB / 466.9 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.3033, allocations: 333.8 kB / 467.2 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3044, allocations: 0.7361 MB / 467.9 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3045, allocations: 161.7 kB / 468.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3048, allocations: 140.6 kB / 468.2 MB, free: 17.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.3075, allocations: 1.699 MB / 469.9 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3075, allocations: 5.312 kB / 469.9 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.3077, allocations: 51 kB / 470 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.3077, allocations: 35.62 kB / 470 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.3109, allocations: 2.179 MB / 472.2 MB, free: 16.28 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.008147/0.319, allocations: 5.45 MB / 477.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004764/0.3238, allocations: 3.22 MB / 480.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3251, allocations: 0.8164 MB / 481.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0083/0.3334, allocations: 6.848 MB / 488.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3335, allocations: 46.94 kB / 488.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006612/0.3342, allocations: 126.8 kB / 488.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 5.8e-06/0.3342, allocations: 0 / 488.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01639/0.3506, allocations: 4.527 MB / 493.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3507, allocations: 64.41 kB / 493.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.3514, allocations: 0.7236 MB / 494 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.3515, allocations: 49.64 kB / 494.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.3518, allocations: 0.6423 MB / 494.7 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.3522, allocations: 406.1 kB / 495.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.3523, allocations: 32 kB / 495.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3525, allocations: 418.7 kB / 495.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.3533, allocations: 471.8 kB / 496 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3545, allocations: 0.9801 MB / 497 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3555, allocations: 0.5964 MB / 497.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.3555, allocations: 7.938 kB / 497.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005582/0.3611, allocations: 1.99 MB / 499.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3612, allocations: 12.97 kB / 499.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3612, allocations: 16 kB / 499.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.3638, allocations: 462 kB / 0.4884 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.3651, allocations: 375.4 kB / 0.4887 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005287/0.3704, allocations: 3.517 MB / 0.4921 GB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3718, allocations: 99.8 kB / 0.4922 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.372, allocations: 87.97 kB / 0.4923 GB, free: 6.137 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.0007312/0.3728, allocations: 317.7 kB / 0.4926 GB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.3731, allocations: 110.6 kB / 0.4927 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.3788, allocations: 1.814 MB / 0.4945 GB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3788, allocations: 12 kB / 0.4945 GB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3788, allocations: 0 / 0.4945 GB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.3789, allocations: 7.984 kB / 0.4945 GB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.3808, allocations: 1.342 MB / 0.4958 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3809, allocations: 4 kB / 0.4958 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.3817, allocations: 227.7 kB / 0.4961 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.3842, allocations: 438.2 kB / 0.4965 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.933e-05/0.3843, allocations: 39.97 kB / 0.4965 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.3889, allocations: 3.433 MB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3889, allocations: 4.031 kB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/0.3947, allocations: 2.348 MB / 0.5022 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.3953, allocations: 279.7 kB / 0.5024 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.3956, allocations: 32 kB / 0.5025 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/0.3964, allocations: 43.83 kB / 0.5025 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.3966, allocations: 116.7 kB / 0.5026 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.3967, allocations: 47.97 kB / 0.5027 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005922/0.3973, allocations: 479 kB / 0.5031 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3973, allocations: 0 / 0.5031 GB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002588/0.3999, allocations: 0.8237 MB / 0.5039 GB, free: 9.84 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.001987/0.4019, allocations: 0.9158 MB / 0.5048 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.4047, allocations: 1.662 MB / 0.5064 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4047, allocations: 0 / 0.5064 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.4061, allocations: 0.989 MB / 0.5074 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4073, allocations: 225.7 kB / 0.5076 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.4115, allocations: 2.955 MB / 0.5105 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.4122, allocations: 1.129 MB / 0.5116 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.4134, allocations: 295.9 kB / 0.5119 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.4138, allocations: 183.3 kB / 0.5121 GB, free: 1.332 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4138, allocations: 0 / 0.5121 GB, free: 1.332 MB / 382.1 MB Notification: Performance of Templates: time 0.03878/0.4526, allocations: 26.47 MB / 0.5379 GB, free: 6.957 MB / 414.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)