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.001756/0.001756, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002364/0.002364, allocations: 208 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.443/1.443, 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 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.1377/0.1377, allocations: 23.89 MB / 336.3 MB, free: 10.94 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.002083/0.002083, allocations: 71.89 kB / 471.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 59.87 MB / 0.5185 GB, free: 9.535 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.0725/0.384, allocations: 27.06 MB / 0.545 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.4099, allocations: 17.17 MB / 0.5617 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.4116, allocations: 27.75 kB / 0.5617 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4131, allocations: 375.4 kB / 0.5621 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.4185, allocations: 1.665 MB / 0.5637 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.4253, allocations: 2.537 MB / 0.5662 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4281, allocations: 1.981 MB / 0.5681 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.4293, allocations: 0.9158 MB / 0.569 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.4304, allocations: 1.017 MB / 0.57 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.432, allocations: 1.028 MB / 0.571 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.4323, allocations: 172 kB / 0.5712 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.4376, allocations: 2.047 MB / 0.5732 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.4381, allocations: 426.8 kB / 0.5736 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.4389, allocations: 0.7392 MB / 0.5743 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007592/0.4465, allocations: 4.237 MB / 0.5785 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4465, allocations: 4 kB / 0.5785 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4465, allocations: 0 / 0.5785 GB, free: 12.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.4466, allocations: 0 / 0.5785 GB, free: 12.42 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.004234/0.4508, allocations: 2.151 MB / 0.5806 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4508, allocations: 12.03 kB / 0.5806 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.4511, allocations: 206.5 kB / 0.5808 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4526, allocations: 343.3 kB / 0.5811 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.4542, allocations: 0.7497 MB / 0.5818 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.4544, allocations: 210 kB / 0.582 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.4547, allocations: 148.3 kB / 0.5822 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.4577, allocations: 1.724 MB / 0.5839 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.4577, allocations: 0 / 0.5839 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.4579, allocations: 56 kB / 0.5839 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.4579, allocations: 32 kB / 0.5839 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/0.4616, allocations: 2.169 MB / 0.5861 GB, free: 4.492 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.009395/0.471, allocations: 4.596 MB / 0.5906 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005388/0.4764, allocations: 2.7 MB / 0.5932 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.4777, allocations: 0.7348 MB / 0.5939 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009077/0.4868, allocations: 3.79 MB / 0.5976 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.4869, allocations: 39.56 kB / 0.5976 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006738/0.4875, allocations: 151.2 kB / 0.5978 GB, free: 8.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.547e-06/0.4875, allocations: 3.938 kB / 0.5978 GB, free: 8.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01771/0.5052, allocations: 4.275 MB / 0.602 GB, free: 4.027 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.5053, allocations: 64.41 kB / 0.602 GB, free: 3.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5064, allocations: 0.7586 MB / 0.6028 GB, free: 3.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.5065, allocations: 45.7 kB / 0.6028 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.507, allocations: 0.66 MB / 0.6035 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.5074, allocations: 428.3 kB / 0.6039 GB, free: 2.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004863/0.5079, allocations: 299.4 kB / 0.6042 GB, free: 1.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5081, allocations: 349.9 kB / 0.6045 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.509, allocations: 479.8 kB / 0.6049 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.5104, allocations: 0.9918 MB / 0.6059 GB, free: 15.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.5128, allocations: 1.573 MB / 0.6074 GB, free: 13.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.5128, allocations: 8 kB / 0.6075 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005873/0.5186, allocations: 1.987 MB / 0.6094 GB, free: 11.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.5187, allocations: 16 kB / 0.6094 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.5187, allocations: 16 kB / 0.6094 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.5214, allocations: 446 kB / 0.6099 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.5227, allocations: 371.4 kB / 0.6102 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.5286, allocations: 3.648 MB / 0.6138 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5297, allocations: 56.05 kB / 0.6138 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.5299, allocations: 87.97 kB / 0.6139 GB, free: 7.035 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.0006692/0.5306, allocations: 313.3 kB / 0.6142 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.5309, allocations: 111.2 kB / 0.6143 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.5367, allocations: 1.796 MB / 0.6161 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5367, allocations: 16 kB / 0.6161 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.5367, allocations: 0 / 0.6161 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.5368, allocations: 15.91 kB / 0.6161 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.5387, allocations: 1.135 MB / 0.6172 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5387, allocations: 3.938 kB / 0.6172 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.5397, allocations: 231.7 kB / 0.6174 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/0.5423, allocations: 422.2 kB / 0.6178 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.5424, allocations: 51.91 kB / 0.6179 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.5479, allocations: 3.534 MB / 0.6213 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5479, allocations: 3.938 kB / 0.6213 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006458/0.5543, allocations: 2.348 MB / 0.6236 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.555, allocations: 227.1 kB / 0.6238 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.5551, allocations: 27.94 kB / 0.6239 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.5558, allocations: 24 kB / 0.6239 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.556, allocations: 108.9 kB / 0.624 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.5562, allocations: 55.97 kB / 0.6241 GB, free: 12.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.5568, allocations: 479 kB / 0.6245 GB, free: 11.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5568, allocations: 0 / 0.6245 GB, free: 11.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002351/0.5591, allocations: 0.8376 MB / 0.6253 GB, free: 10.97 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.008638/0.5678, allocations: 3.737 MB / 0.629 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.5708, allocations: 1.512 MB / 0.6305 GB, free: 5.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5708, allocations: 0 / 0.6305 GB, free: 5.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.5724, allocations: 0.8588 MB / 0.6313 GB, free: 4.758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5736, allocations: 243.5 kB / 0.6315 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.5953, allocations: 10.78 MB / 0.642 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.5959, allocations: 0.5372 MB / 0.6426 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.597, allocations: 300.8 kB / 0.6429 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/0.5979, allocations: 0.5656 MB / 0.6434 GB, free: 7.68 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5979, allocations: 0 / 0.6434 GB, free: 7.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09285/0.6907, allocations: 40.78 MB / 0.6832 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.16, allocations: 9.516 kB / 0.6832 GB, free: 15.18 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 & /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 os._exit(0), Time elapsed: 17.79918867116794] Failed to read output from testmodel.py, exit status != 0: 15.300727497320622 15.31650561 14.866776231 Calling exit ...