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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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.0009752/0.0009754, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009702/0.0009704, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 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: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2154/0.2154, allocations: 15.26 MB / 306.2 MB, free: 15.75 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002866, allocations: 8 kB / 371.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2779, allocations: 54.61 MB / 426.1 MB, free: 39.95 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65: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.0/package.mo:3011:6-3011:65: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.005436/0.2834, allocations: 6.187 MB / 432.3 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2998, allocations: 16.42 MB / 448.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.301, allocations: 28.34 kB / 448.7 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009025/0.3019, allocations: 388.5 kB / 449.1 MB, free: 26.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.3055, allocations: 1.594 MB / 450.7 MB, free: 25.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.3111, allocations: 2.216 MB / 452.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.3132, allocations: 1.303 MB / 454.2 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.3141, allocations: 0.8824 MB / 455.1 MB, free: 23.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00078/0.3149, allocations: 0.7175 MB / 455.8 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.3159, allocations: 0.9653 MB / 456.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.3161, allocations: 93.16 kB / 456.9 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006503/0.3226, allocations: 2.339 MB / 459.2 MB, free: 22.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.323, allocations: 337.3 kB / 459.5 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.3234, allocations: 287.4 kB / 459.8 MB, free: 21.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.3275, allocations: 2.442 MB / 462.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3275, allocations: 0 / 462.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3275, allocations: 0 / 462.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.3275, allocations: 0 / 462.2 MB, free: 21.16 MB / 350.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.003392/0.331, allocations: 1.837 MB / 464.1 MB, free: 20.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.331, allocations: 9.75 kB / 464.1 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.3312, allocations: 195.7 kB / 464.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3325, allocations: 339.1 kB / 464.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3336, allocations: 0.7159 MB / 465.3 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3337, allocations: 157.2 kB / 465.5 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.3339, allocations: 142.2 kB / 465.6 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.3365, allocations: 1.681 MB / 467.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3366, allocations: 5.469 kB / 467.3 MB, free: 18.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3367, allocations: 54.19 kB / 467.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.3367, allocations: 32.56 kB / 467.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/0.34, allocations: 2.176 MB / 469.6 MB, free: 17.81 MB / 350.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.008627/0.3486, allocations: 5.411 MB / 475 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.3543, allocations: 3.209 MB / 478.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00943/0.3637, allocations: 6.799 MB / 485 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3638, allocations: 43.69 kB / 485 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006629/0.3645, allocations: 122.8 kB / 485.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/0.3645, allocations: 0 / 485.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01725/0.3817, allocations: 4.535 MB / 489.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3818, allocations: 68.34 kB / 489.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.3826, allocations: 0.7197 MB / 490.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3827, allocations: 45.7 kB / 490.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.383, allocations: 0.646 MB / 491.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.3833, allocations: 410.1 kB / 491.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.3833, allocations: 32 kB / 491.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3835, allocations: 418.7 kB / 492 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.3841, allocations: 475.8 kB / 492.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/0.385, allocations: 0.9762 MB / 493.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.3858, allocations: 0.5964 MB / 494 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3858, allocations: 4 kB / 494 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005502/0.3913, allocations: 1.99 MB / 496 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.3914, allocations: 12 kB / 496 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.3914, allocations: 16 kB / 496.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/0.3941, allocations: 458.4 kB / 496.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.3955, allocations: 371.5 kB / 496.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.4009, allocations: 3.557 MB / 0.4887 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.4024, allocations: 91.92 kB / 0.4888 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.4025, allocations: 87.98 kB / 0.4889 GB, free: 9.672 MB / 366.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005956/0.4031, allocations: 321.2 kB / 0.4892 GB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.4033, allocations: 110.6 kB / 0.4893 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/0.4091, allocations: 1.802 MB / 0.491 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4091, allocations: 16 kB / 0.4911 GB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4091, allocations: 3.984 kB / 0.4911 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4092, allocations: 11.97 kB / 0.4911 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.4114, allocations: 1.342 MB / 0.4924 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4114, allocations: 0 / 0.4924 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/0.4123, allocations: 235.8 kB / 0.4926 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.4148, allocations: 438.1 kB / 0.493 GB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.415, allocations: 39.97 kB / 0.4931 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004704/0.4197, allocations: 3.465 MB / 0.4965 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4197, allocations: 4.031 kB / 0.4965 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.4256, allocations: 2.39 MB / 0.4988 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.4263, allocations: 267.7 kB / 0.499 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4264, allocations: 27.95 kB / 0.4991 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.4271, allocations: 51.81 kB / 0.4991 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.4274, allocations: 108.8 kB / 0.4992 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.4275, allocations: 55.97 kB / 0.4993 GB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.428, allocations: 471 kB / 0.4997 GB, free: 14.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.428, allocations: 4 kB / 0.4997 GB, free: 14.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4304, allocations: 0.8002 MB / 0.5005 GB, free: 13.3 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008063/0.4385, allocations: 3.997 MB / 0.5044 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.4412, allocations: 1.673 MB / 0.506 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4413, allocations: 0 / 0.506 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.4426, allocations: 0.985 MB / 0.507 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4438, allocations: 212.2 kB / 0.5072 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/0.4533, allocations: 15.71 MB / 0.5226 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.454, allocations: 1.15 MB / 0.5237 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.4552, allocations: 297 kB / 0.524 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.4559, allocations: 0.5773 MB / 0.5245 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4559, allocations: 0 / 0.5245 GB, free: 3.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05579/0.5117, allocations: 36.21 MB / 0.5599 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.512, allocations: 192.6 kB / 0.5601 GB, free: 15.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.18, allocations: 4 kB / 0.5601 GB, free: 15.71 MB / 446.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/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) Environment - environmentSimulation: