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.001818/0.001818, 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.002359/0.002359, allocations: 220.1 kB / 22.26 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.953 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.1437/0.1437, allocations: 23.85 MB / 336.3 MB, free: 11.18 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.002063/0.002063, allocations: 63.89 kB / 471.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 59.87 MB / 0.5186 GB, free: 9.605 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.04635/0.389, allocations: 27.68 MB / 0.5456 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.4177, allocations: 19.6 MB / 0.5647 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4198, allocations: 23.75 kB / 0.5648 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.4219, allocations: 430.9 kB / 0.5652 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.4289, allocations: 1.665 MB / 0.5668 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008564/0.4375, allocations: 2.538 MB / 0.5693 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.4415, allocations: 1.985 MB / 0.5712 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4429, allocations: 0.9237 MB / 0.5721 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.4446, allocations: 1.021 MB / 0.5731 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.4466, allocations: 1.141 MB / 0.5742 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.4469, allocations: 176 kB / 0.5744 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008425/0.4553, allocations: 2.18 MB / 0.5765 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006643/0.456, allocations: 434.7 kB / 0.5769 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.4575, allocations: 0.8674 MB / 0.5778 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.4698, allocations: 4.253 MB / 0.5819 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4698, allocations: 0 / 0.5819 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4698, allocations: 0 / 0.5819 GB, free: 9.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.021e-05/0.4699, allocations: 0 / 0.5819 GB, free: 9.16 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.00547/0.4754, allocations: 2.159 MB / 0.584 GB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4754, allocations: 8.031 kB / 0.5841 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/0.4757, allocations: 198.6 kB / 0.5842 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.4773, allocations: 343.3 kB / 0.5846 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.479, allocations: 0.7536 MB / 0.5853 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.4792, allocations: 214 kB / 0.5855 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.4794, allocations: 144.3 kB / 0.5856 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.4825, allocations: 1.724 MB / 0.5873 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4825, allocations: 0 / 0.5873 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4827, allocations: 52 kB / 0.5874 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.4827, allocations: 36 kB / 0.5874 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.4863, allocations: 2.193 MB / 0.5896 GB, free: 1.207 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.01037/0.4967, allocations: 5.505 MB / 0.5949 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/0.5022, allocations: 2.765 MB / 0.5976 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.5035, allocations: 0.7348 MB / 0.5984 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009011/0.5125, allocations: 3.996 MB / 0.6023 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.5126, allocations: 39.56 kB / 0.6023 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006107/0.5132, allocations: 147.1 kB / 0.6024 GB, free: 3.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.5132, allocations: 3.938 kB / 0.6024 GB, free: 3.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01765/0.5308, allocations: 4.277 MB / 0.6066 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5309, allocations: 64.41 kB / 0.6067 GB, free: 15.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5319, allocations: 0.7355 MB / 0.6074 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.532, allocations: 45.7 kB / 0.6074 GB, free: 14.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.5325, allocations: 0.656 MB / 0.6081 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.5329, allocations: 428.3 kB / 0.6085 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.5334, allocations: 295.4 kB / 0.6088 GB, free: 13.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5336, allocations: 353.9 kB / 0.6091 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009604/0.5346, allocations: 483.8 kB / 0.6096 GB, free: 12.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.536, allocations: 0.9801 MB / 0.6105 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.5387, allocations: 1.581 MB / 0.6121 GB, free: 9.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.5387, allocations: 4 kB / 0.6121 GB, free: 9.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006002/0.5447, allocations: 1.995 MB / 0.614 GB, free: 7.316 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.5447, allocations: 12 kB / 0.614 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.5447, allocations: 16 kB / 0.614 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/0.5476, allocations: 442.3 kB / 0.6145 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5489, allocations: 371.4 kB / 0.6148 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.5551, allocations: 3.685 MB / 0.6184 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.5562, allocations: 48 kB / 0.6185 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.5565, allocations: 91.97 kB / 0.6186 GB, free: 2.445 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.0007025/0.5572, allocations: 317.8 kB / 0.6189 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/0.5576, allocations: 119.3 kB / 0.619 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/0.5635, allocations: 1.796 MB / 0.6207 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.5635, allocations: 19.98 kB / 0.6207 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.5636, allocations: 0 / 0.6207 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.5636, allocations: 7.922 kB / 0.6207 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.5661, allocations: 1.306 MB / 0.622 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.5661, allocations: 7.938 kB / 0.622 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.5671, allocations: 231.9 kB / 0.6223 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.5699, allocations: 426 kB / 0.6227 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/0.5701, allocations: 39.92 kB / 0.6227 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.5766, allocations: 3.569 MB / 0.6262 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.5766, allocations: 7.922 kB / 0.6262 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007396/0.584, allocations: 2.337 MB / 0.6285 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/0.5847, allocations: 223.1 kB / 0.6287 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.5849, allocations: 31.88 kB / 0.6287 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.5857, allocations: 24 kB / 0.6287 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.586, allocations: 112.8 kB / 0.6288 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5861, allocations: 51.97 kB / 0.6289 GB, free: 7.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.5868, allocations: 479 kB / 0.6294 GB, free: 7.016 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5868, allocations: 3.938 kB / 0.6294 GB, free: 7.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002859/0.5897, allocations: 0.8376 MB / 0.6302 GB, free: 6.172 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.008793/0.5985, allocations: 3.734 MB / 0.6338 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.6016, allocations: 1.52 MB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.6016, allocations: 4 kB / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.6032, allocations: 0.855 MB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6044, allocations: 238.9 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/0.6271, allocations: 10.78 MB / 0.6469 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.6281, allocations: 1.129 MB / 0.648 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.6292, allocations: 304.8 kB / 0.6483 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/0.63, allocations: 0.5695 MB / 0.6489 GB, free: 2.285 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.63, allocations: 0 / 0.6489 GB, free: 2.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09639/0.7264, allocations: 40.29 MB / 0.6882 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17, allocations: 10.75 kB / 0.6882 GB, free: 10.19 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.818093411857262] Failed to read output from testmodel.py, exit status != 0: 17.14084883616306 17.169693634 16.694368033 Calling exit ...