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.1498/0.1498, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.001591/0.001591, allocations: 179.1 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.541/1.541, allocations: 223.2 MB / 263.4 MB, free: 6.52 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.00098/0.0009801, allocations: 96.25 kB / 318.8 MB, free: 3.469 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 12.28 kB / 384 MB, free: 50.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 54.64 MB / 438.7 MB, free: 308 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5076, allocations: 100.2 MB / 0.5262 GB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5079, allocations: 69.03 kB / 0.5263 GB, free: 15.58 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.1333/0.6412, allocations: 57.73 MB / 0.5826 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6412, allocations: 0 / 0.5826 GB, free: 16.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001227/0.6414, allocations: 31.44 kB / 0.5827 GB, free: 16.42 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.0059/0.6473, allocations: 2.009 MB / 0.5846 GB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6473, allocations: 12.98 kB / 0.5846 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005759/0.6479, allocations: 195.5 kB / 0.5848 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.6496, allocations: 414.6 kB / 0.5852 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.6524, allocations: 1.096 MB / 0.5863 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.6526, allocations: 159.8 kB / 0.5865 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.6528, allocations: 141.5 kB / 0.5866 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.6563, allocations: 2.51 MB / 0.589 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.6563, allocations: 7.875 kB / 0.589 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.6565, allocations: 56.8 kB / 0.5891 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.6565, allocations: 38.27 kB / 0.5891 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.661, allocations: 3.71 MB / 0.5928 GB, free: 12.16 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.01315/0.6742, allocations: 7.824 MB / 0.6004 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006052/0.6802, allocations: 4.164 MB / 0.6045 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/0.6809, allocations: 408.5 kB / 0.6049 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.681, allocations: 55.88 kB / 0.6049 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001243/0.6822, allocations: 166.7 kB / 0.6051 GB, free: 15.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 4.137e-06/0.6823, allocations: 0 / 0.6051 GB, free: 15.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=208): time 0.03292/0.7152, allocations: 11.17 MB / 0.616 GB, free: 3.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.7153, allocations: 77.41 kB / 0.6161 GB, free: 3.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.7165, allocations: 0.8194 MB / 0.6169 GB, free: 3.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.7169, allocations: 61.7 kB / 0.6169 GB, free: 2.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.7173, allocations: 0.56 MB / 0.6175 GB, free: 2.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.7179, allocations: 0.689 MB / 0.6181 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.718, allocations: 36 kB / 0.6182 GB, free: 1.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7182, allocations: 377.8 kB / 0.6185 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.72, allocations: 1.347 MB / 0.6198 GB, free: 15.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.7219, allocations: 1.564 MB / 0.6214 GB, free: 14.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.724, allocations: 1.458 MB / 0.6228 GB, free: 12.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.724, allocations: 4 kB / 0.6228 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.0094/0.7334, allocations: 3.817 MB / 0.6265 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.7335, allocations: 8 kB / 0.6265 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.7335, allocations: 4 kB / 0.6265 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/0.7379, allocations: 0.7106 MB / 0.6272 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.7401, allocations: 407.4 kB / 0.6276 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/0.7475, allocations: 4.505 MB / 0.632 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.7494, allocations: 87.91 kB / 0.6321 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.7497, allocations: 79.95 kB / 0.6322 GB, free: 2.902 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.0008152/0.7505, allocations: 340 kB / 0.6325 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.7509, allocations: 146.2 kB / 0.6326 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009514/0.7604, allocations: 4.003 MB / 0.6365 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/0.7605, allocations: 27.98 kB / 0.6366 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7605, allocations: 7.938 kB / 0.6366 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-05/0.7606, allocations: 11.95 kB / 0.6366 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.7757, allocations: 8.085 MB / 0.6445 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.7758, allocations: 8 kB / 0.6445 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.7775, allocations: 391.4 kB / 0.6449 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/0.7822, allocations: 0.7097 MB / 0.6456 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/0.7825, allocations: 63.95 kB / 0.6456 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006803/0.7894, allocations: 4.474 MB / 0.65 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.7894, allocations: 11.94 kB / 0.65 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.8027, allocations: 6.213 MB / 0.6561 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.8041, allocations: 407 kB / 0.6565 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.8044, allocations: 48 kB / 0.6565 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8056, allocations: 83.81 kB / 0.6566 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/0.806, allocations: 177.6 kB / 0.6568 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.8061, allocations: 83.95 kB / 0.6568 GB, free: 8.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.8072, allocations: 0.6487 MB / 0.6575 GB, free: 8.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8072, allocations: 0 / 0.6575 GB, free: 8.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003255/0.8104, allocations: 0.9875 MB / 0.6584 GB, free: 7.191 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.01547/0.8259, allocations: 9.67 MB / 0.6679 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005524/0.8315, allocations: 3.484 MB / 0.6713 GB, free: 9.758 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.8315, allocations: 4 kB / 0.6713 GB, free: 9.754 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.8345, allocations: 2.011 MB / 0.6732 GB, free: 7.699 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.8369, allocations: 455.4 kB / 0.6737 GB, free: 7.258 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/1.08, allocations: 8.836 MB / 0.6823 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/1.081, allocations: 1.302 MB / 0.6836 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00146/1.083, allocations: 313.8 kB / 0.6839 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008846/1.084, allocations: 0.6807 MB / 0.6845 GB, free: 111.3 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/1.084, allocations: 0 / 0.6845 GB, free: 111.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/1.173, allocations: 53.88 MB / 0.7372 GB, free: 104.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/1.173, allocations: 184.9 kB / 0.7373 GB, free: 104.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.794/4.967, allocations: 7.938 kB / 0.7373 GB, free: 104.5 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)