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.001471/0.001471, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.0014/0.0014, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 8.012 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.1295/0.1295, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.001917/0.001917, allocations: 67.89 kB / 471.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 59.86 MB / 0.5186 GB, free: 9.641 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.0362/0.3187, allocations: 27.67 MB / 0.5456 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.3428, allocations: 19.61 MB / 0.5647 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.344, allocations: 23.75 kB / 0.5648 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3451, allocations: 414.6 kB / 0.5652 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.3494, allocations: 1.676 MB / 0.5668 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.3558, allocations: 2.538 MB / 0.5693 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.3589, allocations: 1.973 MB / 0.5712 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.36, allocations: 0.9353 MB / 0.5721 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.3611, allocations: 1.017 MB / 0.5731 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.3627, allocations: 1.145 MB / 0.5742 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.3629, allocations: 172 kB / 0.5744 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/0.3689, allocations: 2.184 MB / 0.5765 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.3693, allocations: 430.8 kB / 0.5769 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008712/0.3702, allocations: 0.8634 MB / 0.5778 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007523/0.3777, allocations: 4.253 MB / 0.5819 GB, free: 9.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3777, allocations: 0 / 0.5819 GB, free: 9.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3777, allocations: 0 / 0.5819 GB, free: 9.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.3778, allocations: 0 / 0.5819 GB, free: 9.219 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.004159/0.3819, allocations: 2.159 MB / 0.584 GB, free: 7.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.382, allocations: 8.031 kB / 0.5841 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.3822, allocations: 198.6 kB / 0.5842 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3836, allocations: 347.2 kB / 0.5846 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3849, allocations: 0.7575 MB / 0.5853 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3851, allocations: 214 kB / 0.5855 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.3853, allocations: 136.3 kB / 0.5856 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.388, allocations: 1.728 MB / 0.5873 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.388, allocations: 4 kB / 0.5873 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.3881, allocations: 48 kB / 0.5874 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.3882, allocations: 35.98 kB / 0.5874 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.3916, allocations: 2.196 MB / 0.5896 GB, free: 1.258 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.008888/0.4004, allocations: 5.501 MB / 0.5949 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.4054, allocations: 2.758 MB / 0.5976 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.4065, allocations: 0.7348 MB / 0.5983 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008219/0.4147, allocations: 3.992 MB / 0.6022 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4148, allocations: 43.56 kB / 0.6023 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005756/0.4154, allocations: 151.1 kB / 0.6024 GB, free: 3.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.605e-06/0.4154, allocations: 0 / 0.6024 GB, free: 3.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01742/0.4328, allocations: 4.276 MB / 0.6066 GB, free: 15.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4328, allocations: 64.41 kB / 0.6067 GB, free: 15.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.4338, allocations: 0.7316 MB / 0.6074 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.4339, allocations: 45.7 kB / 0.6074 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.4344, allocations: 0.6639 MB / 0.6081 GB, free: 13.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.4348, allocations: 432.3 kB / 0.6085 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.4352, allocations: 295.4 kB / 0.6088 GB, free: 13.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4354, allocations: 353.9 kB / 0.6091 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/0.4363, allocations: 479.8 kB / 0.6096 GB, free: 12.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.4375, allocations: 0.9801 MB / 0.6105 GB, free: 11.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.4398, allocations: 1.577 MB / 0.6121 GB, free: 9.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.4398, allocations: 4 kB / 0.6121 GB, free: 9.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005761/0.4455, allocations: 1.991 MB / 0.614 GB, free: 7.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4456, allocations: 12 kB / 0.614 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.4456, allocations: 19.94 kB / 0.614 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.4483, allocations: 442.1 kB / 0.6145 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4497, allocations: 375.4 kB / 0.6148 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.4555, allocations: 3.681 MB / 0.6184 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4566, allocations: 52 kB / 0.6185 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.4568, allocations: 87.97 kB / 0.6185 GB, free: 2.5 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.0005421/0.4573, allocations: 313.8 kB / 0.6188 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.4575, allocations: 127.2 kB / 0.619 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/0.4631, allocations: 1.788 MB / 0.6207 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4631, allocations: 15.98 kB / 0.6207 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4631, allocations: 0 / 0.6207 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4632, allocations: 3.984 kB / 0.6207 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.465, allocations: 1.31 MB / 0.622 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.465, allocations: 7.938 kB / 0.622 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.4659, allocations: 227.7 kB / 0.6222 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/0.4685, allocations: 426.1 kB / 0.6226 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.4685, allocations: 43.98 kB / 0.6227 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.4737, allocations: 3.569 MB / 0.6262 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.4737, allocations: 7.922 kB / 0.6262 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/0.4797, allocations: 2.337 MB / 0.6285 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.4802, allocations: 223.1 kB / 0.6287 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.4803, allocations: 27.94 kB / 0.6287 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.481, allocations: 24 kB / 0.6287 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.4812, allocations: 112.7 kB / 0.6288 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.4813, allocations: 56.09 kB / 0.6289 GB, free: 7.547 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005815/0.4819, allocations: 479 kB / 0.6293 GB, free: 7.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4819, allocations: 0 / 0.6293 GB, free: 7.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002152/0.484, allocations: 0.8415 MB / 0.6302 GB, free: 6.234 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.007868/0.4919, allocations: 3.742 MB / 0.6338 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.4946, allocations: 1.515 MB / 0.6353 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4947, allocations: 0 / 0.6353 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.4961, allocations: 0.8597 MB / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4973, allocations: 241.7 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.5184, allocations: 10.79 MB / 0.6469 GB, free: 4.367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.5192, allocations: 1.133 MB / 0.648 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.5202, allocations: 292.8 kB / 0.6483 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.521, allocations: 0.5656 MB / 0.6488 GB, free: 2.348 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.521, allocations: 0 / 0.6488 GB, free: 2.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08501/0.606, allocations: 40.29 MB / 0.6882 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.18, allocations: 6.719 kB / 0.6882 GB, free: 10.24 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 sys.exit(0), Time elapsed: 17.823766908994003] Failed to read output from testmodel.py, exit status != 0: 15.315644570997392 15.34062481 14.958210712 Calling exit ...