Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 217.8 kB / 22.24 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.139/0.139, allocations: 23.89 MB / 336.3 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.88 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.285, allocations: 59.86 MB / 0.5185 GB, free: 9.566 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.Obsolete.Examples.EnzymeKinetics): time 0.069/0.354, allocations: 26.98 MB / 0.5449 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02343/0.3775, allocations: 17.17 MB / 0.5616 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.3787, allocations: 23.81 kB / 0.5617 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.3799, allocations: 387.3 kB / 0.562 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.3852, allocations: 1.661 MB / 0.5637 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007494/0.3927, allocations: 2.539 MB / 0.5661 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.3959, allocations: 1.974 MB / 0.5681 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3972, allocations: 0.9392 MB / 0.569 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3983, allocations: 1.013 MB / 0.57 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.3997, allocations: 1.133 MB / 0.5711 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.4, allocations: 172 kB / 0.5712 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005714/0.4057, allocations: 2.102 MB / 0.5733 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.4062, allocations: 434.7 kB / 0.5737 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.407, allocations: 0.7393 MB / 0.5744 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008156/0.4152, allocations: 4.233 MB / 0.5786 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4152, allocations: 0 / 0.5786 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4152, allocations: 7.938 kB / 0.5786 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.4152, allocations: 0 / 0.5786 GB, free: 12.36 MB / 430.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.004141/0.4193, allocations: 2.151 MB / 0.5807 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4194, allocations: 16.02 kB / 0.5807 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.4196, allocations: 194.6 kB / 0.5809 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.4211, allocations: 339.3 kB / 0.5812 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.4225, allocations: 0.7574 MB / 0.5819 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.4227, allocations: 221.9 kB / 0.5821 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.4229, allocations: 140.3 kB / 0.5823 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.4257, allocations: 1.72 MB / 0.584 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.4257, allocations: 0 / 0.584 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.4259, allocations: 56 kB / 0.584 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.4259, allocations: 32 kB / 0.584 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.4293, allocations: 2.173 MB / 0.5862 GB, free: 4.426 MB / 430.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.008621/0.4379, allocations: 4.588 MB / 0.5906 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/0.443, allocations: 2.696 MB / 0.5933 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4441, allocations: 0.7348 MB / 0.594 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008302/0.4524, allocations: 3.793 MB / 0.5977 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.4525, allocations: 43.56 kB / 0.5977 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005424/0.453, allocations: 143.1 kB / 0.5979 GB, free: 8.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.755e-06/0.453, allocations: 0 / 0.5979 GB, free: 8.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01606/0.4691, allocations: 4.283 MB / 0.6021 GB, free: 3.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.4692, allocations: 64.41 kB / 0.6021 GB, free: 3.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4702, allocations: 0.7586 MB / 0.6029 GB, free: 3.125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.4703, allocations: 53.64 kB / 0.6029 GB, free: 3.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.4708, allocations: 0.6599 MB / 0.6036 GB, free: 2.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.4712, allocations: 428.3 kB / 0.604 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/0.4717, allocations: 299.4 kB / 0.6043 GB, free: 1.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4719, allocations: 353.9 kB / 0.6046 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/0.4728, allocations: 487.7 kB / 0.6051 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.4742, allocations: 0.9763 MB / 0.606 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.4768, allocations: 1.581 MB / 0.6076 GB, free: 13.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.4768, allocations: 7.938 kB / 0.6076 GB, free: 13.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006297/0.4831, allocations: 1.991 MB / 0.6095 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.4832, allocations: 12 kB / 0.6095 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.4832, allocations: 16 kB / 0.6095 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.4858, allocations: 438.8 kB / 0.61 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4871, allocations: 371.5 kB / 0.6103 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.4927, allocations: 3.648 MB / 0.6139 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4938, allocations: 48 kB / 0.6139 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.494, allocations: 87.97 kB / 0.614 GB, free: 6.98 MB / 462.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.000595/0.4946, allocations: 329.2 kB / 0.6143 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4948, allocations: 111.4 kB / 0.6144 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/0.5002, allocations: 1.792 MB / 0.6162 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5002, allocations: 12 kB / 0.6162 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5002, allocations: 0 / 0.6162 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.5002, allocations: 7.922 kB / 0.6162 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.5021, allocations: 1.142 MB / 0.6173 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5021, allocations: 7.969 kB / 0.6173 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.503, allocations: 235.7 kB / 0.6175 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.5053, allocations: 422.1 kB / 0.6179 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.5055, allocations: 43.97 kB / 0.618 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.5105, allocations: 3.53 MB / 0.6214 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5105, allocations: 7.875 kB / 0.6214 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/0.5167, allocations: 2.348 MB / 0.6237 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.5174, allocations: 215.2 kB / 0.6239 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.5176, allocations: 31.88 kB / 0.624 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.5182, allocations: 27.98 kB / 0.624 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.5184, allocations: 112.9 kB / 0.6241 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5185, allocations: 55.97 kB / 0.6241 GB, free: 12.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006526/0.5192, allocations: 483 kB / 0.6246 GB, free: 11.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5192, allocations: 0 / 0.6246 GB, free: 11.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002418/0.5216, allocations: 0.8376 MB / 0.6254 GB, free: 10.9 MB / 478.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.00795/0.5295, allocations: 3.741 MB / 0.6291 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.5325, allocations: 1.516 MB / 0.6306 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5325, allocations: 0 / 0.6306 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.534, allocations: 0.8472 MB / 0.6314 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.5354, allocations: 245.1 kB / 0.6316 GB, free: 4.465 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.5557, allocations: 10.79 MB / 0.6422 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.5563, allocations: 0.5294 MB / 0.6427 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009657/0.5572, allocations: 304.8 kB / 0.643 GB, free: 8.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.5581, allocations: 0.5733 MB / 0.6435 GB, free: 7.609 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5581, allocations: 0 / 0.6435 GB, free: 7.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08981/0.6479, allocations: 41.24 MB / 0.6838 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.24, allocations: 6.516 kB / 0.6838 GB, free: 14.64 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.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_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.845123242004775] Failed to read output from testmodel.py, exit status != 0: 14.375871698983246 14.390264798 13.972007054 Calling exit ...