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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001289/0.001289, allocations: 198.2 kB / 16.14 MB, free: 6.703 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2201/0.2201, allocations: 15.31 MB / 305.3 MB, free: 15.34 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 369.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 53.61 MB / 423.3 MB, free: 14.79 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.3812/0.5067, allocations: 26.27 MB / 449.5 MB, free: 39.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.5235, allocations: 19.42 MB / 468.9 MB, free: 29.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.5252, allocations: 33.19 kB / 469 MB, free: 29.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.5266, allocations: 373.1 kB / 469.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.5319, allocations: 1.431 MB / 470.8 MB, free: 28.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006922/0.5389, allocations: 2.18 MB / 472.9 MB, free: 27.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.5415, allocations: 1.93 MB / 474.9 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.543, allocations: 0.9569 MB / 475.8 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.5446, allocations: 0.9518 MB / 476.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5463, allocations: 1.093 MB / 477.9 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.5465, allocations: 115.5 kB / 478 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007508/0.5541, allocations: 2.107 MB / 480.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.5548, allocations: 378.6 kB / 480.5 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.5562, allocations: 0.8109 MB / 481.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009618/0.5659, allocations: 3.849 MB / 485.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5659, allocations: 0 / 485.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5659, allocations: 0 / 485.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.378e-05/0.566, allocations: 0.875 kB / 485.1 MB, free: 22.31 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.004603/0.5706, allocations: 2.196 MB / 487.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5706, allocations: 21.84 kB / 487.3 MB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5722, allocations: 333.9 kB / 487.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5734, allocations: 0.78 MB / 488.5 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.5735, allocations: 158.9 kB / 488.6 MB, free: 20.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.5737, allocations: 140.9 kB / 488.7 MB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.5766, allocations: 1.713 MB / 490.5 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.5766, allocations: 0 / 490.5 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.5767, allocations: 52.27 kB / 490.5 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.5768, allocations: 31.5 kB / 490.5 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.5801, allocations: 2.185 MB / 492.7 MB, free: 18.89 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.00819/0.5883, allocations: 5.511 MB / 498.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.5928, allocations: 3.229 MB / 0.4897 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.5938, allocations: 0.8136 MB / 0.4905 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/0.6025, allocations: 7.01 MB / 0.4974 GB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.6025, allocations: 46.8 kB / 0.4974 GB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007242/0.6033, allocations: 129.5 kB / 0.4975 GB, free: 8.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.697e-06/0.6033, allocations: 5.625 kB / 0.4975 GB, free: 8.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01754/0.6208, allocations: 4.498 MB / 0.5019 GB, free: 4.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.6209, allocations: 64.41 kB / 0.502 GB, free: 4.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/0.6216, allocations: 0.7325 MB / 0.5027 GB, free: 3.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.723e-05/0.6217, allocations: 45.7 kB / 0.5027 GB, free: 3.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.622, allocations: 0.6421 MB / 0.5034 GB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.6222, allocations: 402.2 kB / 0.5038 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.6225, allocations: 299.3 kB / 0.504 GB, free: 2.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.6226, allocations: 357.9 kB / 0.5044 GB, free: 2.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/0.6233, allocations: 475.8 kB / 0.5048 GB, free: 1.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.6242, allocations: 0.9879 MB / 0.5058 GB, free: 400 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.6262, allocations: 1.577 MB / 0.5073 GB, free: 14.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.6262, allocations: 8 kB / 0.5073 GB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005959/0.6322, allocations: 1.986 MB / 0.5093 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.6322, allocations: 12 kB / 0.5093 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.6322, allocations: 16 kB / 0.5093 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/0.6349, allocations: 450.8 kB / 0.5097 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6363, allocations: 375.4 kB / 0.5101 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005388/0.6417, allocations: 3.505 MB / 0.5135 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.6431, allocations: 91.95 kB / 0.5136 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.6432, allocations: 87.97 kB / 0.5137 GB, free: 7.789 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.0006185/0.6439, allocations: 317.2 kB / 0.514 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.6441, allocations: 110.7 kB / 0.5141 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005885/0.65, allocations: 1.811 MB / 0.5159 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.65, allocations: 15.98 kB / 0.5159 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.65, allocations: 0 / 0.5159 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.6501, allocations: 11.92 kB / 0.5159 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.6522, allocations: 1.334 MB / 0.5172 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.6522, allocations: 0 / 0.5172 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.6531, allocations: 231.8 kB / 0.5174 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.6557, allocations: 426 kB / 0.5178 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.6558, allocations: 43.97 kB / 0.5179 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.6606, allocations: 3.406 MB / 0.5212 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6606, allocations: 7.969 kB / 0.5212 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/0.6668, allocations: 2.344 MB / 0.5235 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/0.6675, allocations: 291.6 kB / 0.5238 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6676, allocations: 27.92 kB / 0.5238 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.6683, allocations: 43.92 kB / 0.5238 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.6686, allocations: 104.8 kB / 0.5239 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.824e-05/0.6687, allocations: 51.97 kB / 0.524 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005582/0.6693, allocations: 479 kB / 0.5244 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6693, allocations: 0 / 0.5244 GB, free: 12.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002596/0.6719, allocations: 0.8237 MB / 0.5252 GB, free: 11.52 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.001806/0.6737, allocations: 0.9233 MB / 0.5262 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.6767, allocations: 1.67 MB / 0.5278 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6767, allocations: 0 / 0.5278 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.6782, allocations: 0.9928 MB / 0.5288 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.6796, allocations: 231.9 kB / 0.529 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.6841, allocations: 2.964 MB / 0.5319 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.6848, allocations: 1.129 MB / 0.533 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001237/0.686, allocations: 305 kB / 0.5333 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.6864, allocations: 175.3 kB / 0.5334 GB, free: 2.969 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6864, allocations: 0 / 0.5334 GB, free: 2.969 MB / 398.1 MB Notification: Performance of Templates: time 0.03827/0.7247, allocations: 27.33 MB / 0.5601 GB, free: 7.719 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)