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.001299/0.0013, allocations: 100.1 kB / 15.88 MB, free: 12 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.001117/0.001118, allocations: 198.8 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2023/0.2023, allocations: 15.32 MB / 305.9 MB, free: 15.35 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001105, allocations: 55.91 kB / 370.3 MB, free: 4.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 53.61 MB / 423.9 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.3743/0.4784, allocations: 26.91 MB / 450.8 MB, free: 39.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.4962, allocations: 19.42 MB / 470.2 MB, free: 29.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.4978, allocations: 33.19 kB / 470.3 MB, free: 29.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.4992, allocations: 383.6 kB / 470.7 MB, free: 29.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.5045, allocations: 1.419 MB / 472.1 MB, free: 28.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00774/0.5122, allocations: 2.184 MB / 474.3 MB, free: 27.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.5157, allocations: 1.924 MB / 476.2 MB, free: 26.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.5174, allocations: 0.9653 MB / 477.1 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.5194, allocations: 0.9487 MB / 478.1 MB, free: 25.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.5218, allocations: 1.092 MB / 479.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.5226, allocations: 115.2 kB / 479.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009629/0.5322, allocations: 2.106 MB / 481.4 MB, free: 24.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.5333, allocations: 381.7 kB / 481.8 MB, free: 24.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.5356, allocations: 0.8125 MB / 482.6 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.5412, allocations: 3.025 MB / 485.6 MB, free: 22.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5412, allocations: 1.031 kB / 485.6 MB, free: 22.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5412, allocations: 0 / 485.6 MB, free: 22.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.597e-05/0.5413, allocations: 0 / 485.6 MB, free: 22.64 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.006876/0.5482, allocations: 2.192 MB / 487.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5483, allocations: 9.812 kB / 487.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5503, allocations: 331.8 kB / 488.1 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.5522, allocations: 0.7918 MB / 488.9 MB, free: 20.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.5523, allocations: 164.1 kB / 489.1 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.5528, allocations: 139.9 kB / 489.2 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.5566, allocations: 1.705 MB / 490.9 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.5566, allocations: 0 / 490.9 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.5568, allocations: 55.09 kB / 491 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.5569, allocations: 37.39 kB / 491 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/0.5607, allocations: 2.191 MB / 493.2 MB, free: 19.21 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.009225/0.5699, allocations: 5.502 MB / 498.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/0.5743, allocations: 3.214 MB / 0.4902 GB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5753, allocations: 0.8189 MB / 0.491 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009511/0.5849, allocations: 7.014 MB / 0.4978 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5849, allocations: 52.23 kB / 0.4979 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006954/0.5856, allocations: 126.4 kB / 0.498 GB, free: 8.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.5857, allocations: 0 / 0.498 GB, free: 8.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01823/0.6039, allocations: 4.499 MB / 0.5024 GB, free: 4.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.604, allocations: 64.41 kB / 0.5024 GB, free: 4.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/0.6048, allocations: 0.7367 MB / 0.5032 GB, free: 3.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.6049, allocations: 45.7 kB / 0.5032 GB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.6052, allocations: 0.641 MB / 0.5038 GB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.6055, allocations: 410.1 kB / 0.5042 GB, free: 2.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.6058, allocations: 299.3 kB / 0.5045 GB, free: 2.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.6059, allocations: 357.9 kB / 0.5048 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.6066, allocations: 479.8 kB / 0.5053 GB, free: 1.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.6075, allocations: 0.9802 MB / 0.5063 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.6097, allocations: 1.577 MB / 0.5078 GB, free: 14.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.6097, allocations: 8 kB / 0.5078 GB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006297/0.616, allocations: 1.998 MB / 0.5098 GB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.6161, allocations: 12 kB / 0.5098 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.6161, allocations: 16 kB / 0.5098 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/0.619, allocations: 442.2 kB / 0.5102 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.6204, allocations: 371.4 kB / 0.5106 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.6263, allocations: 3.499 MB / 0.514 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.6279, allocations: 88.02 kB / 0.5141 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.6281, allocations: 83.98 kB / 0.5141 GB, free: 7.949 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.0006806/0.6288, allocations: 325.1 kB / 0.5145 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.629, allocations: 106.7 kB / 0.5146 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.6352, allocations: 1.811 MB / 0.5163 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.6352, allocations: 12 kB / 0.5163 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6352, allocations: 0 / 0.5163 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.6352, allocations: 19.84 kB / 0.5164 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6375, allocations: 1.334 MB / 0.5177 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6376, allocations: 4 kB / 0.5177 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.6385, allocations: 227.7 kB / 0.5179 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.6413, allocations: 418.2 kB / 0.5183 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.6414, allocations: 43.97 kB / 0.5183 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.6465, allocations: 3.413 MB / 0.5217 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6465, allocations: 7.969 kB / 0.5217 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/0.6534, allocations: 2.344 MB / 0.5239 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.6541, allocations: 287.6 kB / 0.5242 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.6543, allocations: 23.94 kB / 0.5242 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007394/0.6551, allocations: 51.91 kB / 0.5243 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.6554, allocations: 104.8 kB / 0.5244 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.6555, allocations: 51.97 kB / 0.5244 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.6561, allocations: 483 kB / 0.5249 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6561, allocations: 0 / 0.5249 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002786/0.6589, allocations: 0.8159 MB / 0.5257 GB, free: 11.68 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.002145/0.6611, allocations: 0.9312 MB / 0.5266 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003218/0.6643, allocations: 1.673 MB / 0.5282 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6643, allocations: 0 / 0.5282 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.666, allocations: 0.9977 MB / 0.5292 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.6674, allocations: 213.2 kB / 0.5294 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.6724, allocations: 3.016 MB / 0.5324 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.6733, allocations: 1.125 MB / 0.5335 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/0.6741, allocations: 239.3 kB / 0.5337 GB, free: 3.316 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6741, allocations: 3.938 kB / 0.5337 GB, free: 3.312 MB / 398.1 MB Notification: Performance of Templates: time 0.04554/0.7196, allocations: 36.71 MB / 0.5695 GB, free: 14.61 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)