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.1212/0.1212, allocations: 15.26 MB / 27.81 MB, free: 5.395 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.001082/0.001082, allocations: 188.4 kB / 32.7 MB, free: 0.5117 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.324/1.324, allocations: 221.4 MB / 258.8 MB, free: 15.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 104.6 kB / 314 MB, free: 15.73 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 6.822e-05/6.825e-05, allocations: 7.938 kB / 376.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3596, allocations: 54.6 MB / 431.1 MB, free: 50.1 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5015, allocations: 100.1 MB / 0.5188 GB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.5018, allocations: 67.97 kB / 0.5188 GB, free: 15.08 MB / 394.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.1497/0.6515, allocations: 57.53 MB / 0.575 GB, free: 5.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6515, allocations: 0 / 0.575 GB, free: 5.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.6516, allocations: 35.98 kB / 0.5751 GB, free: 5.645 MB / 442.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.004213/0.6558, allocations: 1.837 MB / 0.5768 GB, free: 3.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6559, allocations: 19.91 kB / 0.5769 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.6573, allocations: 413 kB / 0.5773 GB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.6595, allocations: 1.102 MB / 0.5783 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.6596, allocations: 158 kB / 0.5785 GB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.6599, allocations: 143.8 kB / 0.5786 GB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3159/0.9758, allocations: 2.475 MB / 0.581 GB, free: 92.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.74e-05/0.9759, allocations: 3.25 kB / 0.581 GB, free: 92.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005584/0.9765, allocations: 54.44 kB / 0.5811 GB, free: 92.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/0.9766, allocations: 33.88 kB / 0.5811 GB, free: 92.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.9854, allocations: 3.666 MB / 0.5847 GB, free: 92.29 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02219/1.008, allocations: 7.834 MB / 0.5924 GB, free: 90.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009231/1.017, allocations: 4.123 MB / 0.5964 GB, free: 90.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/1.019, allocations: 1.412 MB / 0.5978 GB, free: 90.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/1.02, allocations: 416 kB / 0.5982 GB, free: 90.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.02, allocations: 53.19 kB / 0.5982 GB, free: 90.11 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001431/1.022, allocations: 170.5 kB / 0.5984 GB, free: 90.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=163): time 1.451e-05/1.022, allocations: 2.75 kB / 0.5984 GB, free: 90.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=220): time 0.04029/1.062, allocations: 11.28 MB / 0.6094 GB, free: 88.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007916/1.07, allocations: 4.435 MB / 0.6137 GB, free: 84.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.072, allocations: 0.812 MB / 0.6145 GB, free: 84.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.073, allocations: 58.61 kB / 0.6146 GB, free: 84.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/1.073, allocations: 0.5575 MB / 0.6151 GB, free: 84.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.074, allocations: 0.7362 MB / 0.6158 GB, free: 83.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/1.075, allocations: 35.09 kB / 0.6159 GB, free: 83.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/1.075, allocations: 380.9 kB / 0.6162 GB, free: 83.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/1.077, allocations: 1.586 MB / 0.6178 GB, free: 82.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/1.079, allocations: 1.805 MB / 0.6195 GB, free: 81.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/1.082, allocations: 1.715 MB / 0.6212 GB, free: 81.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/1.082, allocations: 5.812 kB / 0.6212 GB, free: 81.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009619/1.091, allocations: 4.331 MB / 0.6255 GB, free: 79.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.091, allocations: 7.406 kB / 0.6255 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.091, allocations: 4.406 kB / 0.6255 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/1.095, allocations: 0.6873 MB / 0.6261 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.097, allocations: 438.4 kB / 0.6266 GB, free: 79.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/1.103, allocations: 4.423 MB / 0.6309 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/1.106, allocations: 233.6 kB / 0.6311 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/1.106, allocations: 108.5 kB / 0.6312 GB, free: 75.62 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 220 * Array equations: 2 * 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.0003989/1.107, allocations: 203.9 kB / 0.6314 GB, free: 75.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/1.107, allocations: 156 kB / 0.6315 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.118, allocations: 5.009 MB / 0.6364 GB, free: 73.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01005/1.129, allocations: 4.473 MB / 0.6408 GB, free: 72.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.129, allocations: 9.922 kB / 0.6408 GB, free: 72.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.129, allocations: 10.22 kB / 0.6408 GB, free: 72.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.146, allocations: 10.51 MB / 0.6511 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.146, allocations: 11.91 kB / 0.6511 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.148, allocations: 400.3 kB / 0.6515 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/1.154, allocations: 1.373 MB / 0.6528 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.154, allocations: 84.81 kB / 0.6529 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009522/1.164, allocations: 7.22 MB / 0.6599 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005188/1.169, allocations: 2.567 MB / 0.6625 GB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.181, allocations: 7.508 MB / 0.6698 GB, free: 51.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.183, allocations: 464.7 kB / 0.6702 GB, free: 51.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/1.183, allocations: 63.05 kB / 0.6703 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.185, allocations: 150 kB / 0.6704 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/1.185, allocations: 220.1 kB / 0.6706 GB, free: 51.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.185, allocations: 96.91 kB / 0.6707 GB, free: 50.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007256/1.186, allocations: 0.6374 MB / 0.6714 GB, free: 50.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.186, allocations: 0 / 0.6714 GB, free: 50.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00342/1.189, allocations: 1.288 MB / 0.6726 GB, free: 49.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 6 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 212 * 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,7 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001962/1.191, allocations: 1.082 MB / 0.6737 GB, free: 48.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005017/1.196, allocations: 3.967 MB / 0.6775 GB, free: 44.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.196, allocations: 5.125 kB / 0.6775 GB, free: 44.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00364/1.2, allocations: 2.524 MB / 0.68 GB, free: 42.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.202, allocations: 470.8 kB / 0.6805 GB, free: 42.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.207, allocations: 3.605 MB / 0.684 GB, free: 38.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/1.208, allocations: 1.365 MB / 0.6853 GB, free: 37.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001641/1.21, allocations: 349.4 kB / 0.6856 GB, free: 37.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/1.21, allocations: 187 kB / 0.6858 GB, free: 37.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.211, allocations: 0 / 0.6858 GB, free: 37.11 MB / 442.7 MB Notification: Performance of Templates: time 0.0601/1.271, allocations: 47.16 MB / 0.7319 GB, free: 8.445 MB / 458.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)