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.001813/0.001813, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.544/2.544, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3698/0.3698, allocations: 15.32 MB / 305.7 MB, free: 15.26 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 63.89 kB / 370.4 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1687, allocations: 53.6 MB / 424 MB, free: 14.21 MB / 366.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.6241/0.7929, allocations: 26.39 MB / 450.4 MB, free: 39.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0214/0.8143, allocations: 19.45 MB / 469.9 MB, free: 29.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.8157, allocations: 18.81 kB / 469.9 MB, free: 29.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.817, allocations: 420.2 kB / 470.3 MB, free: 29.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.8224, allocations: 1.636 MB / 471.9 MB, free: 28.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008821/0.8312, allocations: 2.482 MB / 474.4 MB, free: 26.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003767/0.835, allocations: 1.972 MB / 476.4 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.8371, allocations: 1.112 MB / 477.5 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.8388, allocations: 0.9853 MB / 478.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.8406, allocations: 1.114 MB / 479.6 MB, free: 24.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.841, allocations: 171.9 kB / 479.8 MB, free: 24.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.8527, allocations: 2.16 MB / 481.9 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.8545, allocations: 434.7 kB / 482.4 MB, free: 23.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.8577, allocations: 0.8591 MB / 483.2 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.8767, allocations: 4.085 MB / 487.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.8768, allocations: 0 / 487.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8768, allocations: 1.156 kB / 487.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.847e-05/0.8769, allocations: 0 / 487.3 MB, free: 21.41 MB / 366.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.007063/0.8839, allocations: 2.193 MB / 489.5 MB, free: 20.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.884, allocations: 9.938 kB / 489.5 MB, free: 20.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000396/0.8844, allocations: 197.8 kB / 489.7 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.887, allocations: 334.6 kB / 490 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.8891, allocations: 0.7873 MB / 490.8 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.8893, allocations: 157.1 kB / 491 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.8897, allocations: 141.5 kB / 491.1 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.8936, allocations: 1.71 MB / 492.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.8936, allocations: 0 / 492.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.8938, allocations: 50.97 kB / 492.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.8938, allocations: 36.47 kB / 492.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.897, allocations: 2.186 MB / 495.1 MB, free: 17.88 MB / 366.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.008806/0.9059, allocations: 5.535 MB / 0.4889 GB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.9103, allocations: 3.229 MB / 0.492 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.9116, allocations: 0.8151 MB / 0.4928 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.9219, allocations: 6.994 MB / 0.4997 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.922, allocations: 45.58 kB / 0.4997 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006857/0.9227, allocations: 125.5 kB / 0.4998 GB, free: 6.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 5.46e-06/0.9227, allocations: 3.938 kB / 0.4998 GB, free: 6.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.0202/0.9429, allocations: 4.505 MB / 0.5042 GB, free: 2.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.943, allocations: 64.41 kB / 0.5043 GB, free: 2.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.944, allocations: 0.7275 MB / 0.505 GB, free: 1.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.9441, allocations: 49.7 kB / 0.5051 GB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.9444, allocations: 0.6384 MB / 0.5057 GB, free: 0.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.9448, allocations: 406.1 kB / 0.5061 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.9452, allocations: 299.3 kB / 0.5064 GB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9453, allocations: 353.9 kB / 0.5067 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.9465, allocations: 475.8 kB / 0.5071 GB, free: 15.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.9481, allocations: 0.984 MB / 0.5081 GB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.951, allocations: 1.581 MB / 0.5097 GB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.951, allocations: 4 kB / 0.5097 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007449/0.9585, allocations: 1.998 MB / 0.5116 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.9586, allocations: 12 kB / 0.5116 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.9586, allocations: 16 kB / 0.5116 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/0.9618, allocations: 446.8 kB / 0.5121 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.9637, allocations: 375.4 kB / 0.5124 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.9707, allocations: 3.868 MB / 0.5162 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.9724, allocations: 51.98 kB / 0.5162 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.9727, allocations: 87.97 kB / 0.5163 GB, free: 5.246 MB / 382.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.0008094/0.9735, allocations: 326.8 kB / 0.5166 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/0.9738, allocations: 110.6 kB / 0.5167 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/0.9812, allocations: 1.811 MB / 0.5185 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.9813, allocations: 15.98 kB / 0.5185 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.9813, allocations: 0 / 0.5185 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.9813, allocations: 3.984 kB / 0.5185 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.9839, allocations: 1.334 MB / 0.5198 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9839, allocations: 3.938 kB / 0.5198 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000919/0.9848, allocations: 235.8 kB / 0.5201 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.9874, allocations: 422 kB / 0.5205 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.9875, allocations: 47.97 kB / 0.5205 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.9928, allocations: 3.775 MB / 0.5242 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9928, allocations: 7.969 kB / 0.5242 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/0.9992, allocations: 2.344 MB / 0.5265 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/0.9999, allocations: 291.6 kB / 0.5268 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/1, allocations: 27.92 kB / 0.5268 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/1.001, allocations: 28 kB / 0.5268 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.001, allocations: 104.8 kB / 0.5269 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.001, allocations: 51.97 kB / 0.527 GB, free: 9.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006075/1.002, allocations: 483 kB / 0.5274 GB, free: 9.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.002, allocations: 0 / 0.5274 GB, free: 9.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002637/1.004, allocations: 0.8315 MB / 0.5282 GB, free: 8.598 MB / 398.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.009151/1.014, allocations: 3.707 MB / 0.5319 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004379/1.018, allocations: 1.783 MB / 0.5336 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.018, allocations: 0 / 0.5336 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.02, allocations: 1.009 MB / 0.5346 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.021, allocations: 237.6 kB / 0.5348 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.042, allocations: 11.26 MB / 0.5458 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/1.043, allocations: 1.129 MB / 0.5469 GB, free: 4.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00127/1.044, allocations: 304.8 kB / 0.5472 GB, free: 4.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007697/1.045, allocations: 0.5695 MB / 0.5478 GB, free: 3.637 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/1.045, allocations: 4 kB / 0.5478 GB, free: 3.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.178, allocations: 38.33 MB / 0.5852 GB, free: 13.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.41/29.59, allocations: 7.844 kB / 0.5852 GB, free: 13.41 MB / 462.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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.EnzymeKinetics_res.csv --start-time 0 --stop-time 199000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 79.6 Chemical_Chemical_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)