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.1058/0.1058, allocations: 15.26 MB / 30.21 MB, free: 3.305 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.0009723/0.0009724, allocations: 178.3 kB / 35.29 MB, free: 2.379 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.458/1.458, allocations: 223.2 MB / 263.4 MB, free: 6.672 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.0008268/0.0008266, allocations: 95.44 kB / 318.8 MB, free: 3.48 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 7.594 kB / 383.9 MB, free: 50.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 54.64 MB / 438.6 MB, free: 436 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.499, allocations: 100.2 MB / 0.5261 GB, free: 15.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4994, allocations: 68.09 kB / 0.5262 GB, free: 15.63 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.1319/0.6313, allocations: 57.72 MB / 0.5826 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.6314, allocations: 3.875 kB / 0.5826 GB, free: 16.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.202e-05/0.6314, allocations: 30.66 kB / 0.5826 GB, free: 16.54 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.004121/0.6356, allocations: 2.003 MB / 0.5845 GB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6356, allocations: 15.58 kB / 0.5846 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.6371, allocations: 418.2 kB / 0.585 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.6391, allocations: 1.095 MB / 0.586 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6392, allocations: 158.1 kB / 0.5862 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.6394, allocations: 148.6 kB / 0.5863 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.6423, allocations: 2.511 MB / 0.5888 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6423, allocations: 0 / 0.5888 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.6425, allocations: 53.69 kB / 0.5888 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6425, allocations: 31.06 kB / 0.5888 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.6466, allocations: 3.71 MB / 0.5925 GB, free: 12.55 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.01212/0.6587, allocations: 7.832 MB / 0.6001 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005932/0.6647, allocations: 4.16 MB / 0.6042 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.6654, allocations: 416.5 kB / 0.6046 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6654, allocations: 51.88 kB / 0.6046 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/0.6665, allocations: 174.7 kB / 0.6048 GB, free: 15.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 4.518e-06/0.6665, allocations: 0 / 0.6048 GB, free: 15.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=208): time 0.0348/0.7013, allocations: 11.16 MB / 0.6157 GB, free: 4.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.7015, allocations: 73.41 kB / 0.6158 GB, free: 4.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.7032, allocations: 0.8234 MB / 0.6166 GB, free: 3.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004419/0.7036, allocations: 57.7 kB / 0.6166 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.7041, allocations: 0.5522 MB / 0.6172 GB, free: 2.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009459/0.7051, allocations: 0.7007 MB / 0.6178 GB, free: 2.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.7053, allocations: 36 kB / 0.6179 GB, free: 2.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.7055, allocations: 377.9 kB / 0.6182 GB, free: 1.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.7076, allocations: 1.343 MB / 0.6196 GB, free: 316 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.7099, allocations: 1.556 MB / 0.6211 GB, free: 14.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.7121, allocations: 1.466 MB / 0.6225 GB, free: 13.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7121, allocations: 0 / 0.6225 GB, free: 13.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009581/0.7217, allocations: 3.825 MB / 0.6262 GB, free: 9.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.7218, allocations: 8 kB / 0.6263 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7218, allocations: 7.938 kB / 0.6263 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/0.7261, allocations: 0.7023 MB / 0.6269 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.728, allocations: 415.4 kB / 0.6273 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/0.7352, allocations: 4.501 MB / 0.6317 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.7371, allocations: 87.91 kB / 0.6318 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/0.7374, allocations: 83.89 kB / 0.6319 GB, free: 3.281 MB / 426.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.0009431/0.7384, allocations: 342 kB / 0.6322 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.7388, allocations: 146.2 kB / 0.6324 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.7489, allocations: 4.011 MB / 0.6363 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.749, allocations: 23.94 kB / 0.6363 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.749, allocations: 3.984 kB / 0.6363 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.7491, allocations: 11.97 kB / 0.6363 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.7666, allocations: 8.073 MB / 0.6442 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/0.7667, allocations: 11.92 kB / 0.6442 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.7685, allocations: 383.5 kB / 0.6446 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/0.7726, allocations: 0.7137 MB / 0.6453 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/0.773, allocations: 71.95 kB / 0.6453 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.7796, allocations: 4.458 MB / 0.6497 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.7797, allocations: 11.94 kB / 0.6497 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.7926, allocations: 6.22 MB / 0.6558 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.7938, allocations: 407 kB / 0.6562 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/0.7942, allocations: 48.12 kB / 0.6562 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.7958, allocations: 83.81 kB / 0.6563 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.7962, allocations: 181.6 kB / 0.6565 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.7964, allocations: 79.95 kB / 0.6565 GB, free: 9.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.7976, allocations: 0.6525 MB / 0.6572 GB, free: 8.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7976, allocations: 0 / 0.6572 GB, free: 8.562 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004187/0.8018, allocations: 0.9914 MB / 0.6582 GB, free: 7.57 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.003212/0.8051, allocations: 1.077 MB / 0.6592 GB, free: 6.484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006244/0.8113, allocations: 3.489 MB / 0.6626 GB, free: 2.949 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.8113, allocations: 4 kB / 0.6626 GB, free: 2.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.8149, allocations: 2.019 MB / 0.6646 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.8178, allocations: 437.6 kB / 0.665 GB, free: 472 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/0.8267, allocations: 4.462 MB / 0.6694 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.828, allocations: 1.298 MB / 0.6706 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001831/0.8298, allocations: 312.2 kB / 0.6709 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.8305, allocations: 167.3 kB / 0.6711 GB, free: 10.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8305, allocations: 3.938 kB / 0.6711 GB, free: 10.07 MB / 474.7 MB Notification: Performance of Templates: time 0.276/1.107, allocations: 40.85 MB / 0.711 GB, free: 111.3 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)