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: "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09986/0.09986, allocations: 15.26 MB / 27.82 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.001017/0.001017, allocations: 192.4 kB / 32.7 MB, free: 0.5156 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.33/1.33, allocations: 221.4 MB / 258.8 MB, free: 44 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 99.52 kB / 314 MB, free: 15.77 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.296e-05, allocations: 4 kB / 376.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.298, allocations: 54.61 MB / 431.2 MB, free: 50.11 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4199, allocations: 100.1 MB / 0.5189 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4202, allocations: 63.97 kB / 0.5189 GB, free: 15.07 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.1529/0.5731, allocations: 57.55 MB / 0.5751 GB, free: 5.652 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5731, allocations: 0 / 0.5751 GB, free: 5.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.5733, allocations: 36 kB / 0.5752 GB, free: 5.617 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.005375/0.5786, allocations: 1.845 MB / 0.577 GB, free: 3.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5787, allocations: 11.98 kB / 0.577 GB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005738/0.5793, allocations: 202.4 kB / 0.5772 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5813, allocations: 413 kB / 0.5776 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.584, allocations: 1.094 MB / 0.5786 GB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5842, allocations: 162 kB / 0.5788 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/0.5846, allocations: 143.8 kB / 0.5789 GB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2631/0.8478, allocations: 2.478 MB / 0.5813 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.8478, allocations: 1.406 kB / 0.5813 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.848, allocations: 53.59 kB / 0.5814 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.8481, allocations: 31.88 kB / 0.5814 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004988/0.8531, allocations: 3.669 MB / 0.585 GB, free: 92.1 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.01248/0.8656, allocations: 7.831 MB / 0.5926 GB, free: 90.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0065/0.8721, allocations: 4.124 MB / 0.5967 GB, free: 89.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.8739, allocations: 1.416 MB / 0.5981 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/0.8746, allocations: 415.7 kB / 0.5985 GB, free: 89.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.8746, allocations: 49.95 kB / 0.5985 GB, free: 89.91 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/0.8757, allocations: 170.3 kB / 0.5987 GB, free: 89.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=163): time 5.601e-06/0.8757, allocations: 2.031 kB / 0.5987 GB, free: 89.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=220): time 0.03269/0.9084, allocations: 11.28 MB / 0.6097 GB, free: 88.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007619/0.9161, allocations: 4.429 MB / 0.614 GB, free: 84.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.9173, allocations: 0.8236 MB / 0.6148 GB, free: 84.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005069/0.9178, allocations: 55.3 kB / 0.6149 GB, free: 84.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.9181, allocations: 0.5544 MB / 0.6154 GB, free: 83.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006753/0.9188, allocations: 0.731 MB / 0.6161 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.9189, allocations: 38.81 kB / 0.6162 GB, free: 83.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.919, allocations: 382.4 kB / 0.6165 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.9209, allocations: 1.583 MB / 0.6181 GB, free: 82.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.9228, allocations: 1.807 MB / 0.6198 GB, free: 81.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.9248, allocations: 1.719 MB / 0.6215 GB, free: 80.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9248, allocations: 0 / 0.6215 GB, free: 80.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008228/0.9331, allocations: 4.332 MB / 0.6257 GB, free: 79.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.9331, allocations: 10.06 kB / 0.6258 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.9331, allocations: 3.875 kB / 0.6258 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.9366, allocations: 0.6767 MB / 0.6264 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.9383, allocations: 445.4 kB / 0.6268 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.9436, allocations: 4.432 MB / 0.6312 GB, free: 75.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.9462, allocations: 237.4 kB / 0.6314 GB, free: 75.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.9465, allocations: 104.5 kB / 0.6315 GB, free: 75.38 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.0003585/0.9468, allocations: 204.6 kB / 0.6317 GB, free: 75.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.9471, allocations: 148.7 kB / 0.6318 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.9584, allocations: 5.01 MB / 0.6367 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009968/0.9684, allocations: 4.473 MB / 0.6411 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.9684, allocations: 3.953 kB / 0.6411 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.9684, allocations: 11.72 kB / 0.6411 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.9857, allocations: 10.52 MB / 0.6514 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.9857, allocations: 8.969 kB / 0.6514 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.9872, allocations: 400.6 kB / 0.6518 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00615/0.9934, allocations: 1.372 MB / 0.6531 GB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.9937, allocations: 80.02 kB / 0.6532 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0096/1.003, allocations: 7.228 MB / 0.6602 GB, free: 60.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005445/1.009, allocations: 2.549 MB / 0.6627 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.021, allocations: 7.52 MB / 0.6701 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.022, allocations: 469.1 kB / 0.6705 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/1.022, allocations: 55.94 kB / 0.6706 GB, free: 50.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.024, allocations: 152.9 kB / 0.6707 GB, free: 50.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/1.024, allocations: 216.9 kB / 0.6709 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.024, allocations: 94.75 kB / 0.671 GB, free: 50.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006956/1.025, allocations: 0.6375 MB / 0.6716 GB, free: 49.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.025, allocations: 4 kB / 0.6716 GB, free: 49.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003254/1.028, allocations: 1.289 MB / 0.6729 GB, free: 48.82 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.01446/1.043, allocations: 11.78 MB / 0.6844 GB, free: 37.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004958/1.048, allocations: 3.967 MB / 0.6883 GB, free: 34.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.048, allocations: 0 / 0.6883 GB, free: 34.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/1.051, allocations: 2.534 MB / 0.6908 GB, free: 31.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.054, allocations: 464 kB / 0.6912 GB, free: 31.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/1.06, allocations: 4.189 MB / 0.6953 GB, free: 27.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/1.061, allocations: 1.361 MB / 0.6966 GB, free: 26.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001339/1.062, allocations: 346.1 kB / 0.6969 GB, free: 26.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/1.063, allocations: 0.7248 MB / 0.6977 GB, free: 25.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/1.063, allocations: 0 / 0.6977 GB, free: 25.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/1.397, allocations: 62.19 MB / 0.7584 GB, free: 113.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.397, allocations: 165.8 kB / 0.7585 GB, free: 113.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/5.355, allocations: 0 / 0.7585 GB, free: 113.2 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)