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.001583/0.001583, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001887/0.001887, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.98 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.1295/0.1295, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001996/0.001996, allocations: 67.91 kB / 471.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 59.87 MB / 0.5187 GB, free: 9.594 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.03886/0.3417, allocations: 27.67 MB / 0.5457 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02618/0.3679, allocations: 19.61 MB / 0.5648 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.3696, allocations: 19.81 kB / 0.5648 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.3709, allocations: 418.8 kB / 0.5652 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005589/0.3765, allocations: 1.677 MB / 0.5669 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007461/0.384, allocations: 2.531 MB / 0.5694 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.3873, allocations: 1.977 MB / 0.5713 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.3886, allocations: 0.9314 MB / 0.5722 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.3899, allocations: 1.017 MB / 0.5732 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.3916, allocations: 1.141 MB / 0.5743 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.3918, allocations: 172 kB / 0.5745 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006379/0.3982, allocations: 2.188 MB / 0.5766 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.3986, allocations: 426.8 kB / 0.577 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009076/0.3996, allocations: 0.8673 MB / 0.5779 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007335/0.4069, allocations: 4.253 MB / 0.582 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4069, allocations: 0 / 0.582 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4069, allocations: 0 / 0.582 GB, free: 9.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.4069, allocations: 0 / 0.582 GB, free: 9.102 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.004161/0.4111, allocations: 2.159 MB / 0.5841 GB, free: 6.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4111, allocations: 11.97 kB / 0.5841 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.4114, allocations: 194.6 kB / 0.5843 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.4127, allocations: 347.5 kB / 0.5846 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4142, allocations: 0.7614 MB / 0.5854 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4143, allocations: 206 kB / 0.5856 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.4146, allocations: 140.3 kB / 0.5857 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.4174, allocations: 1.724 MB / 0.5874 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.4174, allocations: 4 kB / 0.5874 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4175, allocations: 52 kB / 0.5875 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.4176, allocations: 32 kB / 0.5875 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.421, allocations: 2.196 MB / 0.5896 GB, free: 1.145 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.009207/0.4302, allocations: 5.497 MB / 0.595 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/0.4352, allocations: 2.762 MB / 0.5977 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.4364, allocations: 0.7348 MB / 0.5984 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008372/0.4448, allocations: 3.996 MB / 0.6023 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4448, allocations: 43.56 kB / 0.6024 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005605/0.4454, allocations: 155.1 kB / 0.6025 GB, free: 3.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 5.691e-06/0.4454, allocations: 3.984 kB / 0.6025 GB, free: 3.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0173/0.4627, allocations: 4.279 MB / 0.6067 GB, free: 15.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4628, allocations: 68.41 kB / 0.6068 GB, free: 15.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.4636, allocations: 0.7277 MB / 0.6075 GB, free: 14.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.4637, allocations: 45.7 kB / 0.6075 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.4642, allocations: 0.6639 MB / 0.6082 GB, free: 13.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.4645, allocations: 432.3 kB / 0.6086 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.4649, allocations: 295.4 kB / 0.6089 GB, free: 13.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4651, allocations: 357.9 kB / 0.6092 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.4659, allocations: 479.8 kB / 0.6096 GB, free: 12.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.4672, allocations: 0.9801 MB / 0.6106 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.4694, allocations: 1.577 MB / 0.6121 GB, free: 9.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4695, allocations: 4 kB / 0.6122 GB, free: 9.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005636/0.4751, allocations: 1.986 MB / 0.6141 GB, free: 7.254 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4751, allocations: 13 kB / 0.6141 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.4751, allocations: 16 kB / 0.6141 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.4778, allocations: 442.1 kB / 0.6145 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.479, allocations: 379.4 kB / 0.6149 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.4846, allocations: 3.671 MB / 0.6185 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/0.4855, allocations: 56 kB / 0.6185 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.4857, allocations: 87.97 kB / 0.6186 GB, free: 2.379 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.0005091/0.4862, allocations: 309.8 kB / 0.6189 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.4864, allocations: 119.2 kB / 0.619 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/0.492, allocations: 1.803 MB / 0.6208 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4921, allocations: 12 kB / 0.6208 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4921, allocations: 3.938 kB / 0.6208 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4921, allocations: 7.969 kB / 0.6208 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.4939, allocations: 1.299 MB / 0.6221 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4939, allocations: 7.938 kB / 0.6221 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.4948, allocations: 227.7 kB / 0.6223 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.4974, allocations: 426.1 kB / 0.6227 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.54e-05/0.4975, allocations: 47.97 kB / 0.6228 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.5028, allocations: 3.569 MB / 0.6262 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5028, allocations: 8 kB / 0.6263 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.5088, allocations: 2.333 MB / 0.6285 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.5094, allocations: 227.1 kB / 0.6287 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5095, allocations: 31.92 kB / 0.6288 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.5101, allocations: 24 kB / 0.6288 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.5104, allocations: 108.8 kB / 0.6289 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5105, allocations: 51.97 kB / 0.629 GB, free: 7.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.5111, allocations: 479 kB / 0.6294 GB, free: 6.961 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5111, allocations: 0 / 0.6294 GB, free: 6.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002282/0.5134, allocations: 0.8376 MB / 0.6302 GB, free: 6.121 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.007902/0.5213, allocations: 3.734 MB / 0.6339 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.524, allocations: 1.523 MB / 0.6354 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.524, allocations: 0 / 0.6354 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.5254, allocations: 0.8634 MB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5265, allocations: 245.6 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.5467, allocations: 10.79 MB / 0.647 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.5474, allocations: 1.125 MB / 0.6481 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000942/0.5484, allocations: 300.8 kB / 0.6484 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/0.5492, allocations: 0.5695 MB / 0.6489 GB, free: 2.23 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5492, allocations: 0 / 0.6489 GB, free: 2.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08552/0.6347, allocations: 40.3 MB / 0.6883 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.68, allocations: 7.031 kB / 0.6883 GB, free: 10.12 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 sys.exit(0), Time elapsed: 18.36813141300081] Failed to read output from testmodel.py, exit status != 0: 15.824426182996831 15.851581666 15.439958343 Calling exit ...