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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007643/0.007643, allocations: 102.1 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 196.2 kB / 16.68 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08628/0.08628, allocations: 15.3 MB / 305.8 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 55.91 kB / 424.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08907, allocations: 53.62 MB / 478.3 MB, free: 6.281 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.EnzymeKinetics): time 0.03373/0.1228, allocations: 26.44 MB / 0.4929 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2387/0.3616, allocations: 19.43 MB / 0.5119 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.3626, allocations: 19.53 kB / 0.5119 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.364, allocations: 417.7 kB / 0.5123 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.3695, allocations: 1.666 MB / 0.5139 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007527/0.377, allocations: 2.494 MB / 0.5164 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003548/0.3806, allocations: 1.976 MB / 0.5183 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.3827, allocations: 1.108 MB / 0.5194 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3844, allocations: 0.9985 MB / 0.5203 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.3864, allocations: 1.111 MB / 0.5214 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004659/0.3869, allocations: 171.6 kB / 0.5216 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008379/0.3952, allocations: 2.161 MB / 0.5237 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006491/0.3959, allocations: 430.3 kB / 0.5241 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.3971, allocations: 0.8582 MB / 0.525 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4086, allocations: 4.119 MB / 0.529 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4086, allocations: 3.938 kB / 0.529 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4086, allocations: 0 / 0.529 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-05/0.4087, allocations: 0 / 0.529 GB, free: 12.39 MB / 382.1 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.004719/0.4134, allocations: 2.186 MB / 0.5311 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4135, allocations: 10.19 kB / 0.5311 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.4137, allocations: 200.1 kB / 0.5313 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.4152, allocations: 338.9 kB / 0.5316 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.4165, allocations: 0.8102 MB / 0.5324 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4166, allocations: 160.2 kB / 0.5326 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.4169, allocations: 140.6 kB / 0.5327 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.4196, allocations: 1.72 MB / 0.5344 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.4196, allocations: 1.375 kB / 0.5344 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.4198, allocations: 51 kB / 0.5344 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.4198, allocations: 35.56 kB / 0.5345 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.4227, allocations: 2.185 MB / 0.5366 GB, free: 8.031 MB / 382.1 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.007587/0.4303, allocations: 5.488 MB / 0.542 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004139/0.4345, allocations: 3.223 MB / 0.5451 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4358, allocations: 0.8143 MB / 0.5459 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009559/0.4453, allocations: 6.99 MB / 0.5527 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4454, allocations: 46.19 kB / 0.5528 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005708/0.446, allocations: 126.8 kB / 0.5529 GB, free: 7.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.446, allocations: 0 / 0.5529 GB, free: 7.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01775/0.4637, allocations: 4.514 MB / 0.5573 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.4638, allocations: 67.06 kB / 0.5574 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.4648, allocations: 0.7314 MB / 0.5581 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.4649, allocations: 45.7 kB / 0.5581 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.4653, allocations: 0.6406 MB / 0.5588 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.4656, allocations: 415.4 kB / 0.5592 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.4661, allocations: 291.3 kB / 0.5594 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4662, allocations: 356.6 kB / 0.5598 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/0.467, allocations: 479.8 kB / 0.5602 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.4683, allocations: 0.9852 MB / 0.5612 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.4705, allocations: 1.579 MB / 0.5627 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4705, allocations: 10.66 kB / 0.5627 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00582/0.4763, allocations: 1.99 MB / 0.5647 GB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4764, allocations: 15.98 kB / 0.5647 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.4764, allocations: 16 kB / 0.5647 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/0.4791, allocations: 445 kB / 0.5651 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4803, allocations: 367.4 kB / 0.5655 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.4858, allocations: 3.877 MB / 0.5693 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4869, allocations: 54.64 kB / 0.5693 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.4871, allocations: 87.97 kB / 0.5694 GB, free: 5.934 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005396/0.4876, allocations: 313.3 kB / 0.5697 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.4879, allocations: 102.7 kB / 0.5698 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/0.4937, allocations: 1.808 MB / 0.5716 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4937, allocations: 12 kB / 0.5716 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4937, allocations: 0 / 0.5716 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.4937, allocations: 10.59 kB / 0.5716 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4956, allocations: 1.341 MB / 0.5729 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4956, allocations: 4 kB / 0.5729 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/0.4966, allocations: 237 kB / 0.5731 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/0.4991, allocations: 417.2 kB / 0.5735 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.4993, allocations: 39.97 kB / 0.5736 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.5046, allocations: 3.788 MB / 0.5773 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5046, allocations: 3.938 kB / 0.5773 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006428/0.511, allocations: 2.343 MB / 0.5796 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.5117, allocations: 286.4 kB / 0.5798 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5118, allocations: 24 kB / 0.5799 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.5125, allocations: 31.92 kB / 0.5799 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.5128, allocations: 112.8 kB / 0.58 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.5129, allocations: 50.62 kB / 0.58 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005945/0.5135, allocations: 479 kB / 0.5805 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5135, allocations: 0 / 0.5805 GB, free: 10.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00262/0.5161, allocations: 0.8276 MB / 0.5813 GB, free: 9.449 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00882/0.5249, allocations: 3.721 MB / 0.5849 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.5279, allocations: 1.672 MB / 0.5866 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.528, allocations: 2.656 kB / 0.5866 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.5295, allocations: 0.9954 MB / 0.5876 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5308, allocations: 244.2 kB / 0.5878 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.552, allocations: 10.74 MB / 0.5983 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.5528, allocations: 1.121 MB / 0.5994 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001013/0.5538, allocations: 298.8 kB / 0.5997 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.5546, allocations: 0.576 MB / 0.6002 GB, free: 5.715 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5546, allocations: 0 / 0.6002 GB, free: 5.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.629, allocations: 38.73 MB / 0.638 GB, free: 15.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.87, allocations: 7.797 kB / 0.6381 GB, free: 15.48 MB / 494.1 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/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)