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.001455/0.001455, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001477/0.001477, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1427/0.1427, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.002081/0.002081, allocations: 70.41 kB / 466.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4104, allocations: 59.81 MB / 0.5139 GB, free: 9.172 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.04375/0.4541, allocations: 27.42 MB / 0.5407 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02754/0.4817, allocations: 19.56 MB / 0.5598 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.4836, allocations: 23.81 kB / 0.5598 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.485, allocations: 410.7 kB / 0.5602 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.491, allocations: 1.663 MB / 0.5619 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009229/0.5002, allocations: 2.498 MB / 0.5643 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.5043, allocations: 1.991 MB / 0.5662 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.5058, allocations: 0.9428 MB / 0.5672 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5071, allocations: 1.017 MB / 0.5682 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5088, allocations: 1.137 MB / 0.5693 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.5091, allocations: 176 kB / 0.5694 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009376/0.5185, allocations: 2.188 MB / 0.5716 GB, free: 188 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000778/0.5192, allocations: 434.7 kB / 0.572 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.5206, allocations: 0.8557 MB / 0.5728 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.5342, allocations: 4.257 MB / 0.577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5342, allocations: 0 / 0.577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5342, allocations: 0 / 0.577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.5342, allocations: 0 / 0.577 GB, free: 10.62 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.004696/0.5389, allocations: 2.234 MB / 0.5792 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.539, allocations: 11.97 kB / 0.5792 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.5405, allocations: 343.3 kB / 0.5795 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.5419, allocations: 0.8192 MB / 0.5803 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.5421, allocations: 162.6 kB / 0.5805 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.5424, allocations: 136.3 kB / 0.5806 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.5454, allocations: 1.724 MB / 0.5823 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.5454, allocations: 3.984 kB / 0.5823 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.5456, allocations: 52 kB / 0.5823 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.5456, allocations: 32 kB / 0.5824 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.5495, allocations: 2.196 MB / 0.5845 GB, free: 2.766 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.01036/0.5598, allocations: 5.555 MB / 0.5899 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006369/0.5662, allocations: 3.135 MB / 0.593 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.5677, allocations: 0.7375 MB / 0.5937 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.5803, allocations: 7.049 MB / 0.6006 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.5804, allocations: 51.5 kB / 0.6006 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008369/0.5812, allocations: 147.1 kB / 0.6008 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 6.182e-06/0.5812, allocations: 3.938 kB / 0.6008 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01864/0.5998, allocations: 4.502 MB / 0.6052 GB, free: 12.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.5999, allocations: 64.41 kB / 0.6052 GB, free: 12.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.6012, allocations: 0.7238 MB / 0.6059 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6013, allocations: 49.64 kB / 0.606 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.602, allocations: 0.6677 MB / 0.6066 GB, free: 10.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.6024, allocations: 428.3 kB / 0.6071 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000477/0.6029, allocations: 295.4 kB / 0.6073 GB, free: 10.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.6031, allocations: 357.9 kB / 0.6077 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008726/0.604, allocations: 479.8 kB / 0.6081 GB, free: 9.285 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.6053, allocations: 0.984 MB / 0.6091 GB, free: 8.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.6081, allocations: 1.577 MB / 0.6106 GB, free: 6.273 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.6081, allocations: 4 kB / 0.6106 GB, free: 6.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006154/0.6142, allocations: 1.983 MB / 0.6126 GB, free: 4.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6143, allocations: 15.98 kB / 0.6126 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/0.6143, allocations: 16 kB / 0.6126 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.617, allocations: 446.4 kB / 0.613 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.6182, allocations: 371.4 kB / 0.6134 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.6243, allocations: 3.881 MB / 0.6172 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.6254, allocations: 52 kB / 0.6172 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.6256, allocations: 87.97 kB / 0.6173 GB, free: 15.14 MB / 478.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.0005881/0.6262, allocations: 321.3 kB / 0.6176 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.6264, allocations: 115.2 kB / 0.6177 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005995/0.6324, allocations: 1.799 MB / 0.6195 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.6324, allocations: 16 kB / 0.6195 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6324, allocations: 4 kB / 0.6195 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.6324, allocations: 7.922 kB / 0.6195 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.6344, allocations: 1.334 MB / 0.6208 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6345, allocations: 0 / 0.6208 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/0.6354, allocations: 239.8 kB / 0.621 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.638, allocations: 426 kB / 0.6215 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.6381, allocations: 47.91 kB / 0.6215 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.6436, allocations: 3.772 MB / 0.6252 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6436, allocations: 7.969 kB / 0.6252 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.6503, allocations: 2.345 MB / 0.6275 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.651, allocations: 288.3 kB / 0.6278 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.6512, allocations: 27.98 kB / 0.6278 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/0.6519, allocations: 27.94 kB / 0.6278 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.6522, allocations: 108.8 kB / 0.6279 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.6523, allocations: 51.97 kB / 0.628 GB, free: 3.797 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006744/0.653, allocations: 475 kB / 0.6284 GB, free: 3.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.653, allocations: 0 / 0.6284 GB, free: 3.332 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003063/0.656, allocations: 0.8415 MB / 0.6292 GB, free: 2.488 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.001954/0.658, allocations: 0.9514 MB / 0.6302 GB, free: 1.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.6614, allocations: 1.595 MB / 0.6317 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6614, allocations: 3.938 kB / 0.6317 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.6631, allocations: 0.9341 MB / 0.6326 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6644, allocations: 232 kB / 0.6329 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.6688, allocations: 2.427 MB / 0.6352 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.6696, allocations: 1.121 MB / 0.6363 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009557/0.6705, allocations: 300.8 kB / 0.6366 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.671, allocations: 183.3 kB / 0.6368 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.671, allocations: 0 / 0.6368 GB, free: 10.58 MB / 494.1 MB Notification: Performance of Templates: time 0.0486/0.7196, allocations: 28.95 MB / 0.6651 GB, free: 13.71 MB / 0.5137 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: 6.432001203298569] Failed to read output from testmodel.py, exit status != 0: 0.7290325164794922 0.74306817 0.205609226 Calling exit ...