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.0007832/0.0007832, allocations: 99.34 kB / 16.02 MB, free: 76 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.0009068/0.000907, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.224/0.224, allocations: 15.28 MB / 307.4 MB, free: 15.72 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003081, allocations: 8 kB / 372.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3181, allocations: 54.62 MB / 427.4 MB, free: 40.32 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.03222/0.3504, allocations: 26.47 MB / 453.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.373, allocations: 19.21 MB / 473.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.3748, allocations: 30.88 kB / 473.1 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.3762, allocations: 379.5 kB / 473.5 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.383, allocations: 1.421 MB / 474.9 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008429/0.3914, allocations: 2.187 MB / 477.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.3952, allocations: 1.918 MB / 479 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.3969, allocations: 0.916 MB / 479.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.3983, allocations: 0.9068 MB / 480.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3994, allocations: 1.037 MB / 481.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.3996, allocations: 92 kB / 481.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008178/0.4078, allocations: 2.091 MB / 484 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007527/0.4085, allocations: 339 kB / 484.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4097, allocations: 0.8012 MB / 485.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005949/0.4156, allocations: 2.994 MB / 488.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4157, allocations: 4 kB / 488.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4157, allocations: 0 / 488.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.769e-05/0.4158, allocations: 0 / 488.2 MB, free: 6.859 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.005078/0.4209, allocations: 1.835 MB / 490 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4209, allocations: 8.688 kB / 490 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4226, allocations: 337 kB / 490.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4239, allocations: 0.7698 MB / 491.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.424, allocations: 159.4 kB / 491.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.4242, allocations: 137.4 kB / 491.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.4272, allocations: 1.706 MB / 493.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.4272, allocations: 3.984 kB / 493.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.4273, allocations: 57.59 kB / 493.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.4274, allocations: 39.94 kB / 493.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.4307, allocations: 2.187 MB / 495.4 MB, free: 0.5078 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.01094/0.4417, allocations: 5.447 MB / 0.4891 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.447, allocations: 3.215 MB / 0.4922 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.4486, allocations: 0.8234 MB / 0.493 GB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.4587, allocations: 6.85 MB / 0.4997 GB, free: 456 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.4587, allocations: 55.44 kB / 0.4998 GB, free: 392 kB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006195/0.4594, allocations: 126.8 kB / 0.4999 GB, free: 264 kB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.076e-06/0.4594, allocations: 0 / 0.4999 GB, free: 264 kB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01942/0.4788, allocations: 4.535 MB / 0.5043 GB, free: 11.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4789, allocations: 60.41 kB / 0.5044 GB, free: 11.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.48, allocations: 0.7392 MB / 0.5051 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.4802, allocations: 41.7 kB / 0.5051 GB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.4807, allocations: 0.6499 MB / 0.5058 GB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.4811, allocations: 418 kB / 0.5062 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4813, allocations: 121.6 kB / 0.5063 GB, free: 9.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4814, allocations: 353.9 kB / 0.5066 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.4823, allocations: 479.8 kB / 0.5071 GB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.4836, allocations: 0.9879 MB / 0.5081 GB, free: 7.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.4859, allocations: 1.577 MB / 0.5096 GB, free: 5.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.4859, allocations: 4 kB / 0.5096 GB, free: 5.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006515/0.4924, allocations: 1.998 MB / 0.5115 GB, free: 3.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.4925, allocations: 15.98 kB / 0.5116 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.4925, allocations: 20.12 kB / 0.5116 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.4955, allocations: 458.1 kB / 0.512 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4971, allocations: 379.4 kB / 0.5124 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.5029, allocations: 3.516 MB / 0.5158 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.5045, allocations: 88.02 kB / 0.5159 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.5047, allocations: 91.97 kB / 0.516 GB, free: 14.88 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.000653/0.5054, allocations: 317.3 kB / 0.5163 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5056, allocations: 114.7 kB / 0.5164 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/0.5116, allocations: 1.811 MB / 0.5182 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5117, allocations: 15.94 kB / 0.5182 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5117, allocations: 0 / 0.5182 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.5117, allocations: 11.91 kB / 0.5182 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.5138, allocations: 1.342 MB / 0.5195 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5138, allocations: 4 kB / 0.5195 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/0.5148, allocations: 227.7 kB / 0.5197 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.5176, allocations: 442.2 kB / 0.5201 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.5178, allocations: 35.98 kB / 0.5202 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.5228, allocations: 3.429 MB / 0.5235 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5229, allocations: 8 kB / 0.5235 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.5297, allocations: 2.352 MB / 0.5258 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.5304, allocations: 287.6 kB / 0.5261 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5306, allocations: 27.94 kB / 0.5261 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.5315, allocations: 39.97 kB / 0.5262 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.5318, allocations: 108.8 kB / 0.5263 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.5319, allocations: 55.97 kB / 0.5263 GB, free: 3.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007263/0.5327, allocations: 483 kB / 0.5268 GB, free: 3.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5327, allocations: 0 / 0.5268 GB, free: 3.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002766/0.5355, allocations: 0.8197 MB / 0.5276 GB, free: 2.562 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.002407/0.5379, allocations: 0.9312 MB / 0.5285 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.5412, allocations: 1.666 MB / 0.5301 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5412, allocations: 4 kB / 0.5301 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.543, allocations: 0.985 MB / 0.5311 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5447, allocations: 238.4 kB / 0.5313 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.5498, allocations: 3.103 MB / 0.5344 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.5507, allocations: 1.121 MB / 0.5354 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/0.5514, allocations: 235.3 kB / 0.5357 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5514, allocations: 0 / 0.5357 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Templates: time 0.05138/0.6028, allocations: 36.55 MB / 0.5714 GB, free: 5.559 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)