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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1416/0.1416, allocations: 15.26 MB / 31.21 MB, free: 3.223 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 182.1 kB / 36.3 MB, free: 2.258 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.3 MB / 264.5 MB, free: 5.734 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 94.09 kB / 319.9 MB, free: 2.781 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 11.73 kB / 385.2 MB, free: 50.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.0928, allocations: 54.64 MB / 439.8 MB, free: 16 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5002, allocations: 100.2 MB / 0.5274 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5004, allocations: 67.59 kB / 0.5274 GB, free: 15.73 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solution.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System P.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$P. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System S.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$S. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System liquidWater.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$liquidWater. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System ES.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$ES. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.1382/0.6387, allocations: 57.4 MB / 0.5835 GB, free: 16.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6387, allocations: 0 / 0.5835 GB, free: 16.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.6388, allocations: 38.75 kB / 0.5835 GB, free: 16.55 MB / 394.7 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.005804/0.6446, allocations: 1.983 MB / 0.5855 GB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6447, allocations: 16.45 kB / 0.5855 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.6465, allocations: 405.3 kB / 0.5859 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.6489, allocations: 1.147 MB / 0.587 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.6491, allocations: 158 kB / 0.5871 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.6494, allocations: 138.9 kB / 0.5873 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.6531, allocations: 2.525 MB / 0.5897 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.6532, allocations: 3.938 kB / 0.5897 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.6533, allocations: 53.41 kB / 0.5898 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.6534, allocations: 36.75 kB / 0.5898 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.6581, allocations: 3.707 MB / 0.5935 GB, free: 12.35 MB / 394.7 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.01284/0.671, allocations: 7.84 MB / 0.6011 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.6775, allocations: 4.157 MB / 0.6052 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.6795, allocations: 1.442 MB / 0.6066 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.6802, allocations: 404.6 kB / 0.607 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.6803, allocations: 47.88 kB / 0.607 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001183/0.6815, allocations: 178.7 kB / 0.6072 GB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 1.005e-05/0.6815, allocations: 0 / 0.6072 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=208): time 0.03201/0.7135, allocations: 11.16 MB / 0.6181 GB, free: 2.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.7136, allocations: 77.34 kB / 0.6182 GB, free: 2.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.7152, allocations: 0.9296 MB / 0.6191 GB, free: 1.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.7155, allocations: 61.7 kB / 0.6191 GB, free: 1.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.716, allocations: 0.5483 MB / 0.6197 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/0.7168, allocations: 0.693 MB / 0.6203 GB, free: 324 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.7169, allocations: 36 kB / 0.6204 GB, free: 288 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.7172, allocations: 377.8 kB / 0.6207 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.7193, allocations: 1.347 MB / 0.622 GB, free: 14.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.7216, allocations: 1.564 MB / 0.6236 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.726, allocations: 3.023 MB / 0.6265 GB, free: 9.863 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.726, allocations: 4 kB / 0.6265 GB, free: 9.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009542/0.7356, allocations: 3.833 MB / 0.6303 GB, free: 6.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.7356, allocations: 8 kB / 0.6303 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7357, allocations: 4 kB / 0.6303 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/0.7395, allocations: 0.7019 MB / 0.631 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.7416, allocations: 411.4 kB / 0.6314 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.7488, allocations: 4.478 MB / 0.6357 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.7507, allocations: 83.95 kB / 0.6358 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004953/0.7512, allocations: 79.95 kB / 0.6359 GB, free: 15.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (218): * Single equations (assignments): 214 * 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: 3 * 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: 2 {1 10,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.7526, allocations: 341.4 kB / 0.6362 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/0.7531, allocations: 142.2 kB / 0.6363 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009959/0.7631, allocations: 4.003 MB / 0.6403 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.7631, allocations: 20 kB / 0.6403 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.7631, allocations: 4 kB / 0.6403 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/0.7632, allocations: 11.95 kB / 0.6403 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.7792, allocations: 8.08 MB / 0.6482 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.7793, allocations: 4.875 kB / 0.6482 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.7812, allocations: 395.4 kB / 0.6486 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/0.7853, allocations: 0.7096 MB / 0.6493 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000414/0.7857, allocations: 67.95 kB / 0.6493 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.7922, allocations: 4.426 MB / 0.6536 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.7923, allocations: 11.94 kB / 0.6537 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.8058, allocations: 5.881 MB / 0.6594 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.807, allocations: 407 kB / 0.6598 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.8075, allocations: 51.98 kB / 0.6598 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.8091, allocations: 79.81 kB / 0.6599 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/0.8095, allocations: 189.5 kB / 0.6601 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/0.8097, allocations: 79.95 kB / 0.6602 GB, free: 6.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.8108, allocations: 0.6448 MB / 0.6608 GB, free: 5.773 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8108, allocations: 0 / 0.6608 GB, free: 5.773 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00367/0.8145, allocations: 0.9952 MB / 0.6618 GB, free: 4.777 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (217): * Single equations (assignments): 213 * 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: 3 * 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: 2 {1 3,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/0.8174, allocations: 1.079 MB / 0.6628 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005933/0.8233, allocations: 3.493 MB / 0.6662 GB, free: 156 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.8234, allocations: 0 / 0.6662 GB, free: 156 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.8268, allocations: 2.015 MB / 0.6682 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/0.8308, allocations: 467.6 kB / 0.6686 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.8387, allocations: 4.466 MB / 0.673 GB, free: 9.066 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.84, allocations: 1.264 MB / 0.6742 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001779/0.8418, allocations: 320.2 kB / 0.6745 GB, free: 7.449 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/0.8424, allocations: 167.3 kB / 0.6747 GB, free: 7.285 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8424, allocations: 0 / 0.6747 GB, free: 7.285 MB / 474.7 MB Notification: Performance of Templates: time 0.3128/1.155, allocations: 41.72 MB / 0.7154 GB, free: 110.8 MB / 474.7 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)