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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001789/0.001789, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.781 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.1941/0.1941, 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.002069/0.002069, allocations: 63.91 kB / 471.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 59.87 MB / 0.5185 GB, free: 9.488 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.07243/0.3894, allocations: 27.04 MB / 0.5449 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02399/0.4134, allocations: 17.17 MB / 0.5617 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.4145, allocations: 23.75 kB / 0.5617 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.4156, allocations: 378.7 kB / 0.5621 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.4203, allocations: 1.661 MB / 0.5637 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006859/0.4271, allocations: 2.54 MB / 0.5662 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.43, allocations: 1.977 MB / 0.5681 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.4312, allocations: 0.9119 MB / 0.569 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.4324, allocations: 1.017 MB / 0.57 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.434, allocations: 1.028 MB / 0.571 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.4343, allocations: 176 kB / 0.5712 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00596/0.4402, allocations: 2.047 MB / 0.5732 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.4407, allocations: 422.8 kB / 0.5736 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009046/0.4416, allocations: 0.7431 MB / 0.5743 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.4516, allocations: 4.237 MB / 0.5785 GB, free: 12.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4516, allocations: 4 kB / 0.5785 GB, free: 12.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4516, allocations: 0 / 0.5785 GB, free: 12.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.112e-05/0.4516, allocations: 0 / 0.5785 GB, free: 12.5 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.004851/0.4565, allocations: 2.151 MB / 0.5806 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4565, allocations: 8.031 kB / 0.5806 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.4568, allocations: 206.6 kB / 0.5808 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.4583, allocations: 343.2 kB / 0.5811 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.4599, allocations: 0.7575 MB / 0.5818 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.4601, allocations: 206 kB / 0.582 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.4604, allocations: 140.3 kB / 0.5822 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.4634, allocations: 1.724 MB / 0.5838 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.4634, allocations: 0 / 0.5838 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.4635, allocations: 60 kB / 0.5839 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.4636, allocations: 32 kB / 0.5839 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.4673, allocations: 2.169 MB / 0.5861 GB, free: 4.57 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.009482/0.4767, allocations: 4.6 MB / 0.5905 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.482, allocations: 2.692 MB / 0.5932 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.4832, allocations: 0.7348 MB / 0.5939 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/0.4919, allocations: 3.801 MB / 0.5976 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.4919, allocations: 43.56 kB / 0.5976 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005919/0.4925, allocations: 143.2 kB / 0.5978 GB, free: 8.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/0.4925, allocations: 0 / 0.5978 GB, free: 8.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01747/0.51, allocations: 4.279 MB / 0.602 GB, free: 4.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.51, allocations: 64.41 kB / 0.602 GB, free: 4.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.5111, allocations: 0.7586 MB / 0.6028 GB, free: 3.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.5112, allocations: 45.7 kB / 0.6028 GB, free: 3.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.5118, allocations: 0.6639 MB / 0.6035 GB, free: 2.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.5122, allocations: 424.3 kB / 0.6039 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/0.5126, allocations: 303.4 kB / 0.6041 GB, free: 1.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.5128, allocations: 357.9 kB / 0.6045 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/0.5137, allocations: 471.8 kB / 0.6049 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.5152, allocations: 0.9879 MB / 0.6059 GB, free: 15.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.5176, allocations: 1.577 MB / 0.6074 GB, free: 13.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5176, allocations: 4 kB / 0.6074 GB, free: 13.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005801/0.5234, allocations: 1.987 MB / 0.6094 GB, free: 11.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5234, allocations: 12 kB / 0.6094 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.5234, allocations: 19.98 kB / 0.6094 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.526, allocations: 446.4 kB / 0.6098 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5273, allocations: 375.4 kB / 0.6102 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.5331, allocations: 3.658 MB / 0.6138 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5342, allocations: 48 kB / 0.6138 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.5344, allocations: 87.97 kB / 0.6139 GB, free: 7.105 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.0006002/0.535, allocations: 317.3 kB / 0.6142 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.5352, allocations: 111.2 kB / 0.6143 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/0.541, allocations: 1.8 MB / 0.6161 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.541, allocations: 12 kB / 0.6161 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.541, allocations: 4 kB / 0.6161 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.541, allocations: 7.969 kB / 0.6161 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.5429, allocations: 1.138 MB / 0.6172 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5429, allocations: 7.938 kB / 0.6172 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.5438, allocations: 235.8 kB / 0.6174 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.5464, allocations: 414 kB / 0.6178 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.5465, allocations: 51.97 kB / 0.6179 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.552, allocations: 3.534 MB / 0.6213 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.552, allocations: 8 kB / 0.6213 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/0.5584, allocations: 2.348 MB / 0.6236 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.5591, allocations: 223.1 kB / 0.6238 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5593, allocations: 27.94 kB / 0.6239 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.5599, allocations: 24 kB / 0.6239 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.5602, allocations: 116.8 kB / 0.624 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/0.5603, allocations: 43.98 kB / 0.6241 GB, free: 12.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006386/0.5609, allocations: 479 kB / 0.6245 GB, free: 11.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5609, allocations: 0 / 0.6245 GB, free: 11.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002462/0.5634, allocations: 0.8415 MB / 0.6253 GB, free: 11.04 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.008304/0.5717, allocations: 3.732 MB / 0.629 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.5747, allocations: 1.523 MB / 0.6305 GB, free: 5.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5747, allocations: 0 / 0.6305 GB, free: 5.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.5762, allocations: 0.8561 MB / 0.6313 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5774, allocations: 239.2 kB / 0.6315 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.5987, allocations: 10.78 MB / 0.6421 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.5993, allocations: 0.5372 MB / 0.6426 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.6004, allocations: 300.8 kB / 0.6429 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/0.6012, allocations: 0.5695 MB / 0.6434 GB, free: 7.746 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6012, allocations: 0 / 0.6434 GB, free: 7.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09168/0.6929, allocations: 40.78 MB / 0.6832 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.34, allocations: 15.88 kB / 0.6833 GB, free: 15.25 MB / 0.5294 GB " [Timeout remaining time 645] (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: 18.243822525721043] Failed to read output from testmodel.py, exit status != 0: 15.490012489259243 15.506511487 15.051572988 Calling exit ...