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.001411/0.001411, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001633/0.001633, allocations: 216.9 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.777 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.1297/0.1297, allocations: 23.93 MB / 336.3 MB, free: 10.99 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.001917/0.001917, allocations: 63.91 kB / 471.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3167, allocations: 59.88 MB / 0.5186 GB, free: 9.445 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.07076/0.3874, allocations: 26.98 MB / 0.545 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02311/0.4105, allocations: 17.17 MB / 0.5617 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4118, allocations: 23.81 kB / 0.5617 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.413, allocations: 382.8 kB / 0.5621 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.4181, allocations: 1.661 MB / 0.5637 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007415/0.4255, allocations: 2.54 MB / 0.5662 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.4286, allocations: 1.974 MB / 0.5681 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.4298, allocations: 0.9353 MB / 0.5691 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.431, allocations: 1.013 MB / 0.57 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.4325, allocations: 1.141 MB / 0.5712 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.4328, allocations: 176 kB / 0.5713 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/0.439, allocations: 2.098 MB / 0.5734 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.4396, allocations: 430.8 kB / 0.5738 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.4405, allocations: 0.7354 MB / 0.5745 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009132/0.4497, allocations: 4.237 MB / 0.5786 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4497, allocations: 0 / 0.5786 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4497, allocations: 0 / 0.5786 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.4497, allocations: 0 / 0.5786 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.004268/0.454, allocations: 2.159 MB / 0.5807 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.454, allocations: 12.03 kB / 0.5808 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002336/0.4542, allocations: 198.6 kB / 0.5809 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.4556, allocations: 335.5 kB / 0.5813 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.457, allocations: 0.7614 MB / 0.582 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.4572, allocations: 210 kB / 0.5822 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.4575, allocations: 140.3 kB / 0.5823 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.4602, allocations: 1.732 MB / 0.584 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.4602, allocations: 0 / 0.584 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.4603, allocations: 48 kB / 0.5841 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.4604, allocations: 36 kB / 0.5841 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.4637, allocations: 2.169 MB / 0.5862 GB, free: 4.355 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.008691/0.4724, allocations: 4.592 MB / 0.5907 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.4773, allocations: 2.704 MB / 0.5934 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4784, allocations: 0.7348 MB / 0.5941 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008109/0.4866, allocations: 3.786 MB / 0.5978 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4866, allocations: 43.56 kB / 0.5978 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005744/0.4872, allocations: 151.1 kB / 0.598 GB, free: 8.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.4872, allocations: 3.938 kB / 0.598 GB, free: 8.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01555/0.5027, allocations: 4.279 MB / 0.6021 GB, free: 3.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.5028, allocations: 68.34 kB / 0.6022 GB, free: 3.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.5037, allocations: 0.7547 MB / 0.6029 GB, free: 3.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.5038, allocations: 45.7 kB / 0.603 GB, free: 2.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.5043, allocations: 0.6638 MB / 0.6036 GB, free: 2.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.5047, allocations: 428.3 kB / 0.604 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.5051, allocations: 299.4 kB / 0.6043 GB, free: 1.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5053, allocations: 353.9 kB / 0.6047 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/0.5061, allocations: 479.8 kB / 0.6051 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.5074, allocations: 0.984 MB / 0.6061 GB, free: 15.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.5096, allocations: 1.573 MB / 0.6076 GB, free: 13.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.5096, allocations: 8 kB / 0.6076 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005355/0.515, allocations: 1.991 MB / 0.6096 GB, free: 11.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.515, allocations: 15.98 kB / 0.6096 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.515, allocations: 16 kB / 0.6096 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.5174, allocations: 438.2 kB / 0.61 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5186, allocations: 379.4 kB / 0.6104 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.524, allocations: 3.65 MB / 0.6139 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.525, allocations: 48 kB / 0.614 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.5252, allocations: 91.97 kB / 0.6141 GB, free: 6.898 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.0005662/0.5257, allocations: 317.3 kB / 0.6144 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.526, allocations: 115.2 kB / 0.6145 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/0.5312, allocations: 1.792 MB / 0.6162 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5312, allocations: 12 kB / 0.6163 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.5312, allocations: 3.938 kB / 0.6163 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5312, allocations: 11.91 kB / 0.6163 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.5331, allocations: 1.147 MB / 0.6174 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5331, allocations: 3.938 kB / 0.6174 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.5339, allocations: 231.7 kB / 0.6176 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002275/0.5362, allocations: 418.2 kB / 0.618 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5363, allocations: 47.91 kB / 0.6181 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.5412, allocations: 3.534 MB / 0.6215 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5412, allocations: 3.938 kB / 0.6215 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.547, allocations: 2.341 MB / 0.6238 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/0.5477, allocations: 223.2 kB / 0.624 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.5478, allocations: 27.94 kB / 0.624 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.5484, allocations: 32 kB / 0.6241 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.5487, allocations: 112.7 kB / 0.6242 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.5488, allocations: 51.98 kB / 0.6242 GB, free: 12.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006121/0.5494, allocations: 479 kB / 0.6247 GB, free: 11.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5494, allocations: 0 / 0.6247 GB, free: 11.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002346/0.5517, allocations: 0.8376 MB / 0.6255 GB, free: 10.83 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.007803/0.5595, allocations: 3.741 MB / 0.6292 GB, free: 7.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.5624, allocations: 1.52 MB / 0.6306 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5624, allocations: 0 / 0.6306 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.5638, allocations: 0.8511 MB / 0.6315 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.565, allocations: 242.9 kB / 0.6317 GB, free: 4.383 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.5852, allocations: 10.78 MB / 0.6422 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.5858, allocations: 0.5333 MB / 0.6428 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001134/0.587, allocations: 308.7 kB / 0.643 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/0.5878, allocations: 0.5695 MB / 0.6436 GB, free: 7.523 MB / 494.1 MB Notification: Performance of SimCode: time 1.183e-06/0.5878, allocations: 0 / 0.6436 GB, free: 7.523 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08829/0.6761, allocations: 41.24 MB / 0.6839 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.54, allocations: 6.406 kB / 0.6839 GB, free: 14.56 MB / 0.5294 GB " [Timeout remaining time 645] (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: 17.25331458900473] Failed to read output from testmodel.py, exit status != 0: 14.68167080701096 14.706127736 14.251863522 Calling exit ...