Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001488/0.001488, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001764/0.001764, allocations: 219.9 kB / 22.25 MB, free: 5.254 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1528/0.1528, allocations: 23.92 MB / 336.3 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.00219/0.00219, allocations: 71.88 kB / 471.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3264, allocations: 59.88 MB / 0.5191 GB, free: 9.781 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07706/0.4034, allocations: 26.97 MB / 0.5454 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02642/0.4298, allocations: 17.17 MB / 0.5622 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.4311, allocations: 27.81 kB / 0.5622 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4326, allocations: 382.9 kB / 0.5626 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.4387, allocations: 1.658 MB / 0.5642 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008387/0.4471, allocations: 2.539 MB / 0.5667 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.4507, allocations: 1.993 MB / 0.5686 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.4524, allocations: 0.9159 MB / 0.5695 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.454, allocations: 1.017 MB / 0.5705 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.4562, allocations: 1.137 MB / 0.5716 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005551/0.4568, allocations: 176 kB / 0.5718 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007605/0.4644, allocations: 2.106 MB / 0.5739 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007712/0.4652, allocations: 434.7 kB / 0.5743 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.4667, allocations: 0.7276 MB / 0.575 GB, free: 476 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.4792, allocations: 4.241 MB / 0.5791 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4792, allocations: 0 / 0.5791 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4792, allocations: 0 / 0.5791 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.498e-05/0.4793, allocations: 0 / 0.5791 GB, free: 12.21 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.006701/0.486, allocations: 2.162 MB / 0.5812 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.4861, allocations: 12.02 kB / 0.5813 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.4883, allocations: 339.5 kB / 0.5816 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.4904, allocations: 0.7536 MB / 0.5823 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.4907, allocations: 210 kB / 0.5825 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.4911, allocations: 144.3 kB / 0.5827 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00426/0.4954, allocations: 1.724 MB / 0.5843 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.4954, allocations: 0 / 0.5843 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.4956, allocations: 52 kB / 0.5844 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.4956, allocations: 35.98 kB / 0.5844 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.4998, allocations: 2.173 MB / 0.5865 GB, free: 4.477 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.01073/0.5105, allocations: 4.433 MB / 0.5909 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005619/0.5162, allocations: 2.707 MB / 0.5935 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.5177, allocations: 0.727 MB / 0.5942 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/0.5276, allocations: 3.774 MB / 0.5979 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.5277, allocations: 47.56 kB / 0.598 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006961/0.5284, allocations: 143.2 kB / 0.5981 GB, free: 8.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.769e-06/0.5284, allocations: 4 kB / 0.5981 GB, free: 8.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0179/0.5463, allocations: 4.269 MB / 0.6023 GB, free: 4.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.5463, allocations: 68.39 kB / 0.6023 GB, free: 4.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5474, allocations: 0.7075 MB / 0.603 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.5475, allocations: 49.7 kB / 0.6031 GB, free: 3.355 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.5481, allocations: 0.6638 MB / 0.6037 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/0.5486, allocations: 432.4 kB / 0.6041 GB, free: 2.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.5491, allocations: 295.4 kB / 0.6044 GB, free: 1.961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5493, allocations: 353.9 kB / 0.6047 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009888/0.5503, allocations: 479.8 kB / 0.6052 GB, free: 1.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.5518, allocations: 0.984 MB / 0.6062 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.5543, allocations: 1.577 MB / 0.6077 GB, free: 14.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.5544, allocations: 4 kB / 0.6077 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005984/0.5603, allocations: 1.983 MB / 0.6096 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5604, allocations: 12 kB / 0.6097 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.5604, allocations: 16 kB / 0.6097 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.5631, allocations: 450.7 kB / 0.6101 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5646, allocations: 375.4 kB / 0.6105 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.5707, allocations: 3.606 MB / 0.614 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5721, allocations: 59.94 kB / 0.614 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.5725, allocations: 83.97 kB / 0.6141 GB, free: 7.324 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.0008847/0.5734, allocations: 317.3 kB / 0.6144 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.5738, allocations: 107.3 kB / 0.6145 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.5798, allocations: 1.791 MB / 0.6163 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5799, allocations: 15.94 kB / 0.6163 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5799, allocations: 0 / 0.6163 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.5799, allocations: 7.969 kB / 0.6163 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.5819, allocations: 0.9988 MB / 0.6173 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.5819, allocations: 4.125 kB / 0.6173 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.583, allocations: 227.7 kB / 0.6175 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.5857, allocations: 426.1 kB / 0.6179 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/0.5859, allocations: 35.98 kB / 0.6179 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.5917, allocations: 3.496 MB / 0.6213 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5917, allocations: 4.031 kB / 0.6214 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/0.5985, allocations: 2.337 MB / 0.6236 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.5991, allocations: 215.2 kB / 0.6238 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.5994, allocations: 24 kB / 0.6239 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.6, allocations: 24 kB / 0.6239 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.6003, allocations: 116.7 kB / 0.624 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.6004, allocations: 51.97 kB / 0.624 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006499/0.6011, allocations: 447 kB / 0.6245 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6011, allocations: 0 / 0.6245 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002666/0.6038, allocations: 0.8414 MB / 0.6253 GB, free: 11.55 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.002214/0.606, allocations: 0.9569 MB / 0.6262 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.6093, allocations: 1.516 MB / 0.6277 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6093, allocations: 0 / 0.6277 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.611, allocations: 0.8552 MB / 0.6285 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.6123, allocations: 237.4 kB / 0.6288 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.6172, allocations: 2.425 MB / 0.6311 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.618, allocations: 0.541 MB / 0.6317 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.6193, allocations: 300.5 kB / 0.632 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.6197, allocations: 179.3 kB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6197, allocations: 0 / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of Templates: time 0.05236/0.6721, allocations: 30.84 MB / 0.6622 GB, free: 5.77 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.409969876054674] Failed to read output from testmodel.py, exit status != 0: 0.6829481492750347 0.698368009 0.215633762 Calling exit ...