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.001372/0.001372, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001713/0.001713, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.785 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.1378/0.1378, allocations: 23.89 MB / 336.3 MB, free: 10.96 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: translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") [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.002019/0.002019, allocations: 75.81 kB / 471.6 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 59.85 MB / 0.519 GB, free: 9.957 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.07187/0.3948, allocations: 27.05 MB / 0.5454 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02593/0.4208, allocations: 17.18 MB / 0.5622 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.4224, allocations: 19.81 kB / 0.5622 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.424, allocations: 386.8 kB / 0.5626 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.4303, allocations: 1.657 MB / 0.5642 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008034/0.4383, allocations: 2.543 MB / 0.5667 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003377/0.4417, allocations: 1.977 MB / 0.5686 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.443, allocations: 0.9158 MB / 0.5695 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.4442, allocations: 1.017 MB / 0.5705 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.4457, allocations: 1.028 MB / 0.5715 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.446, allocations: 172 kB / 0.5717 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/0.452, allocations: 2.044 MB / 0.5737 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.4524, allocations: 442.6 kB / 0.5741 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008131/0.4532, allocations: 0.7237 MB / 0.5748 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.461, allocations: 4.241 MB / 0.5789 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.461, allocations: 8 kB / 0.579 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.461, allocations: 0 / 0.579 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.461, allocations: 0 / 0.579 GB, free: 12.57 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.004155/0.4652, allocations: 2.155 MB / 0.5811 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4652, allocations: 8.031 kB / 0.5811 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.4666, allocations: 347.3 kB / 0.5814 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.4681, allocations: 0.7652 MB / 0.5821 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.4683, allocations: 206 kB / 0.5823 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.4685, allocations: 140.4 kB / 0.5825 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.4714, allocations: 1.721 MB / 0.5842 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.4714, allocations: 0 / 0.5842 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.4715, allocations: 52 kB / 0.5842 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.4716, allocations: 36 kB / 0.5842 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.475, allocations: 2.177 MB / 0.5864 GB, free: 4.844 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.008471/0.4835, allocations: 4.429 MB / 0.5907 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/0.4885, allocations: 2.704 MB / 0.5933 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4897, allocations: 0.7309 MB / 0.594 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008467/0.4982, allocations: 3.774 MB / 0.5977 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.4982, allocations: 47.5 kB / 0.5978 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006073/0.4988, allocations: 143.2 kB / 0.5979 GB, free: 8.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.126e-06/0.4988, allocations: 0 / 0.5979 GB, free: 8.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01663/0.5154, allocations: 4.279 MB / 0.6021 GB, free: 4.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5155, allocations: 64.41 kB / 0.6021 GB, free: 4.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.5164, allocations: 0.7075 MB / 0.6028 GB, free: 3.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.5165, allocations: 45.7 kB / 0.6029 GB, free: 3.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.517, allocations: 0.6638 MB / 0.6035 GB, free: 3.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.5174, allocations: 432.4 kB / 0.6039 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.5178, allocations: 303.3 kB / 0.6042 GB, free: 2.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5179, allocations: 353.9 kB / 0.6046 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/0.5188, allocations: 475.8 kB / 0.605 GB, free: 1.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.52, allocations: 0.9841 MB / 0.606 GB, free: 308 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.5224, allocations: 1.581 MB / 0.6075 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5224, allocations: 4 kB / 0.6075 GB, free: 14.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005523/0.5279, allocations: 1.979 MB / 0.6095 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.528, allocations: 19.94 kB / 0.6095 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.528, allocations: 16 kB / 0.6095 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.5305, allocations: 442.4 kB / 0.6099 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5317, allocations: 379.4 kB / 0.6103 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.5374, allocations: 3.598 MB / 0.6138 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.5383, allocations: 51.94 kB / 0.6138 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.5385, allocations: 91.97 kB / 0.6139 GB, free: 7.699 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.0005478/0.539, allocations: 321.2 kB / 0.6142 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.5392, allocations: 107.3 kB / 0.6143 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.5446, allocations: 1.791 MB / 0.6161 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5446, allocations: 15.94 kB / 0.6161 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5446, allocations: 0 / 0.6161 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.5446, allocations: 7.969 kB / 0.6161 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5462, allocations: 0.9986 MB / 0.6171 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5462, allocations: 4 kB / 0.6171 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.5471, allocations: 227.8 kB / 0.6173 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.5495, allocations: 422.1 kB / 0.6177 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.5496, allocations: 39.97 kB / 0.6178 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.5547, allocations: 3.504 MB / 0.6212 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5547, allocations: 3.938 kB / 0.6212 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.5605, allocations: 2.341 MB / 0.6235 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.561, allocations: 223.2 kB / 0.6237 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5612, allocations: 24 kB / 0.6237 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.5617, allocations: 24 kB / 0.6237 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.562, allocations: 112.8 kB / 0.6238 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.5621, allocations: 47.97 kB / 0.6239 GB, free: 13.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.5626, allocations: 451 kB / 0.6243 GB, free: 12.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5626, allocations: 0 / 0.6243 GB, free: 12.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002313/0.5649, allocations: 0.8376 MB / 0.6251 GB, free: 11.91 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.001774/0.5667, allocations: 0.9528 MB / 0.6261 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.5696, allocations: 1.516 MB / 0.6275 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5696, allocations: 0 / 0.6275 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.571, allocations: 0.8517 MB / 0.6284 GB, free: 8.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5721, allocations: 250.1 kB / 0.6286 GB, free: 8.289 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.5765, allocations: 2.414 MB / 0.631 GB, free: 5.832 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.5771, allocations: 0.5409 MB / 0.6315 GB, free: 5.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009446/0.5781, allocations: 292.6 kB / 0.6318 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.5785, allocations: 183.3 kB / 0.6319 GB, free: 4.781 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5785, allocations: 0 / 0.6319 GB, free: 4.781 MB / 478.1 MB Notification: Performance of Templates: time 0.04619/0.6247, allocations: 30.38 MB / 0.6616 GB, free: 6.605 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.886685326695442] Failed to read output from testmodel.py, exit status != 0: 0.6339092999696732 0.648151551 0.183885193 Calling exit ...