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.001308/0.001308, allocations: 102 kB / 16.45 MB, free: 6.5 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.001396/0.001396, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.149/0.149, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002018/0.002018, allocations: 59.91 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 59.82 MB / 0.5135 GB, free: 8.852 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.0423/0.3896, allocations: 27.46 MB / 0.5403 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02738/0.417, allocations: 19.56 MB / 0.5594 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.4186, allocations: 27.75 kB / 0.5594 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.4203, allocations: 418.3 kB / 0.5598 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.4275, allocations: 1.655 MB / 0.5614 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.4379, allocations: 2.507 MB / 0.5639 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.4422, allocations: 1.981 MB / 0.5658 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.4439, allocations: 0.9622 MB / 0.5668 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.4454, allocations: 1.009 MB / 0.5677 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.4472, allocations: 1.141 MB / 0.5689 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.4475, allocations: 172 kB / 0.569 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009367/0.4569, allocations: 2.188 MB / 0.5712 GB, free: 228 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000874/0.4578, allocations: 426.8 kB / 0.5716 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.4592, allocations: 0.8634 MB / 0.5724 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.471, allocations: 4.245 MB / 0.5765 GB, free: 10.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4711, allocations: 3.938 kB / 0.5766 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4711, allocations: 0 / 0.5766 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.4711, allocations: 0 / 0.5766 GB, free: 10.67 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.004824/0.4759, allocations: 2.234 MB / 0.5787 GB, free: 8.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.476, allocations: 8.031 kB / 0.5787 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.4762, allocations: 198.6 kB / 0.5789 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.4778, allocations: 347.2 kB / 0.5793 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.4792, allocations: 0.8269 MB / 0.5801 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4794, allocations: 162.6 kB / 0.5802 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.4797, allocations: 140.3 kB / 0.5804 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.4828, allocations: 1.724 MB / 0.582 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4828, allocations: 4 kB / 0.582 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.483, allocations: 52 kB / 0.5821 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.483, allocations: 32 kB / 0.5821 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.4868, allocations: 2.193 MB / 0.5843 GB, free: 2.602 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.01022/0.4971, allocations: 5.551 MB / 0.5897 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/0.503, allocations: 3.139 MB / 0.5928 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5046, allocations: 0.7348 MB / 0.5935 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/0.5165, allocations: 7.049 MB / 0.6004 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.5165, allocations: 47.55 kB / 0.6004 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007021/0.5172, allocations: 143.1 kB / 0.6005 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.516e-06/0.5173, allocations: 7.938 kB / 0.6005 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01841/0.5357, allocations: 4.502 MB / 0.6049 GB, free: 12.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5357, allocations: 64.41 kB / 0.605 GB, free: 12.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5368, allocations: 0.7316 MB / 0.6057 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5369, allocations: 45.7 kB / 0.6058 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.5374, allocations: 0.6561 MB / 0.6064 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.5378, allocations: 428.3 kB / 0.6068 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.5383, allocations: 299.4 kB / 0.6071 GB, free: 9.953 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5384, allocations: 357.9 kB / 0.6074 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.5394, allocations: 475.8 kB / 0.6079 GB, free: 9.133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5408, allocations: 0.9879 MB / 0.6089 GB, free: 7.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.5432, allocations: 1.581 MB / 0.6104 GB, free: 6.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5432, allocations: 4 kB / 0.6104 GB, free: 6.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005956/0.5492, allocations: 1.983 MB / 0.6123 GB, free: 4.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5492, allocations: 12 kB / 0.6124 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.5492, allocations: 16.84 kB / 0.6124 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.552, allocations: 442.1 kB / 0.6128 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.5534, allocations: 383.4 kB / 0.6132 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.5596, allocations: 3.87 MB / 0.6169 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5608, allocations: 55.98 kB / 0.617 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.561, allocations: 91.97 kB / 0.6171 GB, free: 14.97 MB / 478.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.0005976/0.5616, allocations: 312.5 kB / 0.6174 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.5619, allocations: 119.2 kB / 0.6175 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006063/0.5679, allocations: 1.799 MB / 0.6192 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.568, allocations: 12 kB / 0.6193 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.568, allocations: 0 / 0.6193 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.568, allocations: 11.91 kB / 0.6193 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.5702, allocations: 1.33 MB / 0.6206 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.5702, allocations: 3.938 kB / 0.6206 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5712, allocations: 235.7 kB / 0.6208 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/0.5739, allocations: 422.2 kB / 0.6212 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.5741, allocations: 47.91 kB / 0.6212 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/0.5798, allocations: 3.779 MB / 0.6249 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5798, allocations: 7.969 kB / 0.6249 GB, free: 6.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/0.5867, allocations: 2.341 MB / 0.6272 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.5875, allocations: 296.2 kB / 0.6275 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5877, allocations: 31.94 kB / 0.6275 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.5883, allocations: 28.12 kB / 0.6276 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.5886, allocations: 108.8 kB / 0.6277 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5887, allocations: 47.97 kB / 0.6277 GB, free: 3.641 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006713/0.5894, allocations: 479 kB / 0.6282 GB, free: 3.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5894, allocations: 0 / 0.6282 GB, free: 3.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002564/0.592, allocations: 0.8454 MB / 0.629 GB, free: 2.324 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.008907/0.6009, allocations: 3.73 MB / 0.6326 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003272/0.6041, allocations: 1.595 MB / 0.6342 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6042, allocations: 0 / 0.6342 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.6059, allocations: 0.9383 MB / 0.6351 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6073, allocations: 234.7 kB / 0.6353 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/0.6309, allocations: 10.77 MB / 0.6459 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/0.6319, allocations: 1.137 MB / 0.647 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001207/0.6331, allocations: 304.7 kB / 0.6473 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/0.634, allocations: 0.5656 MB / 0.6478 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.634, allocations: 0 / 0.6478 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.7253, allocations: 39.1 MB / 0.686 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.58, allocations: 8.047 kB / 0.686 GB, free: 7.316 MB / 0.5294 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.531168154004263] Failed to read output from testmodel.py, exit status != 0: 15.702384167001583 15.721327935 15.247099499 Calling exit ...