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.0007497/0.0007497, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000834/0.0008341, allocations: 172.7 kB / 15.95 MB, free: 208 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.27/1.27, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1911/0.1911, allocations: 15.27 MB / 306.3 MB, free: 15.78 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 12.22 kB / 371.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2646, allocations: 54.62 MB / 426.2 MB, free: 40.56 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.00542/0.2701, allocations: 6.856 MB / 433 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.2847, allocations: 17.73 MB / 450.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2861, allocations: 28.03 kB / 450.8 MB, free: 25.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.287, allocations: 380.8 kB / 451.2 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.2908, allocations: 1.395 MB / 452.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.2965, allocations: 2.016 MB / 454.6 MB, free: 23.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.299, allocations: 1.82 MB / 456.4 MB, free: 22.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.3002, allocations: 0.8927 MB / 457.3 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009897/0.3012, allocations: 0.7636 MB / 458.1 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3023, allocations: 1.003 MB / 459.1 MB, free: 21.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.3024, allocations: 93.34 kB / 459.1 MB, free: 21.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.308, allocations: 1.962 MB / 461.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.3083, allocations: 333.8 kB / 461.4 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.3086, allocations: 291.4 kB / 461.7 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.3122, allocations: 3.038 MB / 464.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3122, allocations: 3.938 kB / 464.8 MB, free: 19.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3122, allocations: 0 / 464.8 MB, free: 19.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3123, allocations: 0 / 464.8 MB, free: 19.6 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.003478/0.3157, allocations: 1.839 MB / 466.6 MB, free: 18.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3158, allocations: 10.25 kB / 466.6 MB, free: 18.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.316, allocations: 193.7 kB / 466.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3173, allocations: 340.1 kB / 467.1 MB, free: 18.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3184, allocations: 0.7325 MB / 467.9 MB, free: 17.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3185, allocations: 158.2 kB / 468 MB, free: 17.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.3187, allocations: 135.8 kB / 468.2 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.3212, allocations: 1.707 MB / 469.9 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3213, allocations: 5.047 kB / 469.9 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3214, allocations: 51.53 kB / 469.9 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.3215, allocations: 40.25 kB / 470 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.3246, allocations: 2.175 MB / 472.1 MB, free: 16.25 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.007305/0.3319, allocations: 5.452 MB / 477.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/0.3365, allocations: 3.209 MB / 480.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.3376, allocations: 0.8158 MB / 481.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007435/0.3451, allocations: 6.857 MB / 488.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3451, allocations: 40.11 kB / 488.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005006/0.3456, allocations: 129.4 kB / 488.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.415e-06/0.3457, allocations: 0 / 488.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01476/0.3604, allocations: 4.529 MB / 493.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.3605, allocations: 68.41 kB / 493.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.3611, allocations: 0.7236 MB / 493.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.3612, allocations: 45.7 kB / 494 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.3614, allocations: 0.6422 MB / 494.6 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.3617, allocations: 410.1 kB / 495 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.3617, allocations: 32 kB / 495.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3619, allocations: 422.7 kB / 495.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.3627, allocations: 467.8 kB / 495.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.3637, allocations: 0.9801 MB / 496.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.3646, allocations: 0.5963 MB / 497.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3647, allocations: 4 kB / 497.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005121/0.3698, allocations: 1.994 MB / 499.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3698, allocations: 12 kB / 499.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3698, allocations: 16 kB / 499.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.3723, allocations: 462.1 kB / 500 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3734, allocations: 371.4 kB / 0.4886 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.3783, allocations: 3.521 MB / 0.4921 GB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3794, allocations: 91.92 kB / 0.4922 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3795, allocations: 87.97 kB / 0.4922 GB, free: 6.402 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.0004629/0.38, allocations: 313.3 kB / 0.4925 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.3801, allocations: 114.8 kB / 0.4926 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/0.3856, allocations: 1.819 MB / 0.4944 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3856, allocations: 12 kB / 0.4944 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3856, allocations: 0 / 0.4944 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3856, allocations: 7.984 kB / 0.4944 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.3874, allocations: 1.338 MB / 0.4957 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3874, allocations: 4 kB / 0.4957 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.3882, allocations: 227.7 kB / 0.496 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.3907, allocations: 442.1 kB / 0.4964 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.3908, allocations: 39.97 kB / 0.4964 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.3952, allocations: 3.433 MB / 0.4998 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3952, allocations: 0 / 0.4998 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/0.4008, allocations: 2.344 MB / 0.5021 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.4013, allocations: 283.6 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4014, allocations: 24 kB / 0.5024 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.4021, allocations: 39.89 kB / 0.5024 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.4023, allocations: 116.8 kB / 0.5025 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.4024, allocations: 51.97 kB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005099/0.4029, allocations: 471 kB / 0.503 GB, free: 10.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4029, allocations: 0 / 0.503 GB, free: 10.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002243/0.4052, allocations: 0.808 MB / 0.5038 GB, free: 10.13 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.007365/0.4125, allocations: 3.695 MB / 0.5074 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.4151, allocations: 1.662 MB / 0.509 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4151, allocations: 4 kB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4164, allocations: 0.989 MB / 0.51 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4175, allocations: 228.7 kB / 0.5102 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.4304, allocations: 7.899 MB / 0.5179 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.431, allocations: 1.121 MB / 0.519 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001186/0.4322, allocations: 298.3 kB / 0.5193 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.4329, allocations: 0.5734 MB / 0.5199 GB, free: 8.992 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4329, allocations: 0 / 0.5199 GB, free: 8.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/0.4843, allocations: 36.5 MB / 0.5555 GB, free: 4.719 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4845, allocations: 183.3 kB / 0.5557 GB, free: 4.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/3.256, allocations: 3.938 kB / 0.5557 GB, free: 4.48 MB / 430.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: