Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001346/0.001346, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.0015/0.0015, allocations: 220 kB / 22.24 MB, free: 5.109 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1387/0.1387, allocations: 23.99 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_master_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.002246/0.002246, allocations: 63.91 kB / 471.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3302, allocations: 59.89 MB / 0.5187 GB, free: 9.512 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07223/0.4025, allocations: 27.06 MB / 0.5451 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.4281, allocations: 17.17 MB / 0.5619 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.4295, allocations: 23.81 kB / 0.5619 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.4308, allocations: 383.3 kB / 0.5623 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.4364, allocations: 1.661 MB / 0.5639 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007319/0.4437, allocations: 2.539 MB / 0.5664 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.4468, allocations: 1.977 MB / 0.5683 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.4481, allocations: 0.9235 MB / 0.5692 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.4494, allocations: 1.013 MB / 0.5702 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.451, allocations: 1.032 MB / 0.5712 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.4513, allocations: 172 kB / 0.5714 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006156/0.4575, allocations: 2.044 MB / 0.5734 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.458, allocations: 430.8 kB / 0.5738 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.4589, allocations: 0.7354 MB / 0.5745 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009301/0.4682, allocations: 4.241 MB / 0.5787 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.4682, allocations: 4 kB / 0.5787 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4682, allocations: 4 kB / 0.5787 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.613e-05/0.4683, allocations: 0 / 0.5787 GB, free: 12.29 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.004853/0.4731, allocations: 2.151 MB / 0.5808 GB, free: 10.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4732, allocations: 12.03 kB / 0.5808 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.4734, allocations: 202.6 kB / 0.581 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.4749, allocations: 339.5 kB / 0.5813 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4764, allocations: 0.7497 MB / 0.582 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4766, allocations: 221.9 kB / 0.5822 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.4769, allocations: 140.3 kB / 0.5824 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.4798, allocations: 1.72 MB / 0.5841 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.4799, allocations: 0 / 0.5841 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.48, allocations: 56 kB / 0.5841 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.4801, allocations: 36 kB / 0.5841 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.4838, allocations: 2.177 MB / 0.5863 GB, free: 4.359 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.009242/0.493, allocations: 4.58 MB / 0.5907 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.4983, allocations: 2.704 MB / 0.5934 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.4996, allocations: 0.7348 MB / 0.5941 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008772/0.5084, allocations: 3.79 MB / 0.5978 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5084, allocations: 43.5 kB / 0.5978 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005948/0.509, allocations: 151.1 kB / 0.598 GB, free: 8.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.875e-06/0.509, allocations: 0 / 0.598 GB, free: 8.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01728/0.5263, allocations: 4.276 MB / 0.6022 GB, free: 3.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5264, allocations: 64.41 kB / 0.6022 GB, free: 3.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.5273, allocations: 0.7625 MB / 0.603 GB, free: 3.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.571e-05/0.5274, allocations: 45.7 kB / 0.603 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.528, allocations: 0.6561 MB / 0.6037 GB, free: 2.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.5284, allocations: 424.3 kB / 0.6041 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/0.5288, allocations: 303.4 kB / 0.6043 GB, free: 1.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.529, allocations: 349.9 kB / 0.6047 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/0.5299, allocations: 487.7 kB / 0.6051 GB, free: 0.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.5313, allocations: 0.9802 MB / 0.6061 GB, free: 15.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.5337, allocations: 1.585 MB / 0.6077 GB, free: 13.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.5337, allocations: 4 kB / 0.6077 GB, free: 13.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00597/0.5397, allocations: 1.991 MB / 0.6096 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.5397, allocations: 12 kB / 0.6096 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.5397, allocations: 16 kB / 0.6096 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.5424, allocations: 438.4 kB / 0.61 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5438, allocations: 371.4 kB / 0.6104 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.5498, allocations: 3.644 MB / 0.614 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5509, allocations: 52 kB / 0.614 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.5511, allocations: 87.97 kB / 0.6141 GB, free: 6.922 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.000596/0.5517, allocations: 321.4 kB / 0.6144 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.552, allocations: 115.2 kB / 0.6145 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/0.5577, allocations: 1.796 MB / 0.6163 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5577, allocations: 19.88 kB / 0.6163 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5577, allocations: 0 / 0.6163 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.5577, allocations: 11.98 kB / 0.6163 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.5597, allocations: 1.135 MB / 0.6174 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5597, allocations: 3.938 kB / 0.6174 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/0.5606, allocations: 239.8 kB / 0.6176 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.5632, allocations: 414.1 kB / 0.618 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.5633, allocations: 43.98 kB / 0.6181 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/0.5687, allocations: 3.538 MB / 0.6215 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5687, allocations: 11.94 kB / 0.6215 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/0.575, allocations: 2.345 MB / 0.6238 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.5757, allocations: 219.1 kB / 0.624 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5758, allocations: 31.88 kB / 0.6241 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.5765, allocations: 27.98 kB / 0.6241 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.5767, allocations: 108.8 kB / 0.6242 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.5768, allocations: 51.97 kB / 0.6242 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006364/0.5775, allocations: 475 kB / 0.6247 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5775, allocations: 0 / 0.6247 GB, free: 11.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002323/0.5798, allocations: 0.8376 MB / 0.6255 GB, free: 10.86 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.008446/0.5882, allocations: 3.742 MB / 0.6292 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.5912, allocations: 1.519 MB / 0.6307 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5913, allocations: 0 / 0.6307 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.5928, allocations: 0.852 MB / 0.6315 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.5941, allocations: 237.5 kB / 0.6317 GB, free: 4.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/0.6156, allocations: 10.79 MB / 0.6422 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.6162, allocations: 0.5333 MB / 0.6428 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.6173, allocations: 300.8 kB / 0.6431 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/0.6182, allocations: 0.5695 MB / 0.6436 GB, free: 7.551 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6182, allocations: 0 / 0.6436 GB, free: 7.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09128/0.7095, allocations: 40.77 MB / 0.6834 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.52, allocations: 3.938 kB / 0.6834 GB, free: 15.06 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.373105519916862] Failed to read output from testmodel.py, exit status != 0: 15.670738720800728 15.69953403 15.225914029 Calling exit ...