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.001516/0.001516, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002038/0.002038, allocations: 216.4 kB / 22.3 MB, free: 5.281 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.518/1.518, allocations: 230.6 MB / 256.1 MB, free: 7.758 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.1457/0.1457, allocations: 23.89 MB / 336.4 MB, free: 10.92 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.002278/0.002278, allocations: 75.89 kB / 471.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3838, allocations: 59.86 MB / 0.5191 GB, free: 9.828 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.07455/0.4583, allocations: 27.02 MB / 0.5455 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.4841, allocations: 17.17 MB / 0.5623 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.4857, allocations: 23.81 kB / 0.5623 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.4872, allocations: 382.7 kB / 0.5627 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.4935, allocations: 1.662 MB / 0.5643 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.5037, allocations: 2.546 MB / 0.5668 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003822/0.5075, allocations: 1.974 MB / 0.5687 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.509, allocations: 0.9162 MB / 0.5696 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.5106, allocations: 1.017 MB / 0.5706 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.5127, allocations: 1.024 MB / 0.5716 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.5131, allocations: 172 kB / 0.5718 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007015/0.5201, allocations: 2.047 MB / 0.5738 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.5208, allocations: 438.7 kB / 0.5742 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.5221, allocations: 0.7315 MB / 0.5749 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.5332, allocations: 4.241 MB / 0.579 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.5332, allocations: 0 / 0.579 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5332, allocations: 0 / 0.579 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.5333, allocations: 4 kB / 0.579 GB, free: 12.36 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.00541/0.5387, allocations: 2.151 MB / 0.5811 GB, free: 10.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5388, allocations: 12.03 kB / 0.5811 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.5405, allocations: 339.3 kB / 0.5815 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.5424, allocations: 0.7575 MB / 0.5822 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.5426, allocations: 210 kB / 0.5824 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.5429, allocations: 136.3 kB / 0.5825 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.5463, allocations: 1.732 MB / 0.5842 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.5464, allocations: 0 / 0.5842 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.5465, allocations: 60 kB / 0.5843 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.5466, allocations: 32 kB / 0.5843 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.5507, allocations: 2.173 MB / 0.5864 GB, free: 4.633 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.01033/0.561, allocations: 4.435 MB / 0.5908 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006008/0.567, allocations: 2.702 MB / 0.5934 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.5685, allocations: 0.7309 MB / 0.5941 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009719/0.5782, allocations: 3.78 MB / 0.5978 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.5783, allocations: 43.56 kB / 0.5979 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007432/0.579, allocations: 147.1 kB / 0.598 GB, free: 8.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 6.182e-06/0.579, allocations: 0 / 0.598 GB, free: 8.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01915/0.5982, allocations: 4.278 MB / 0.6022 GB, free: 4.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.5983, allocations: 64.41 kB / 0.6022 GB, free: 4.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.5994, allocations: 0.7152 MB / 0.6029 GB, free: 3.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.5996, allocations: 45.7 kB / 0.603 GB, free: 3.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.6001, allocations: 0.6638 MB / 0.6036 GB, free: 2.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.6007, allocations: 432.4 kB / 0.604 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.6012, allocations: 303.4 kB / 0.6043 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6014, allocations: 341.9 kB / 0.6047 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.6024, allocations: 483.8 kB / 0.6051 GB, free: 1.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.6039, allocations: 0.9879 MB / 0.6061 GB, free: 76 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.6067, allocations: 1.577 MB / 0.6076 GB, free: 14.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.6067, allocations: 4 kB / 0.6076 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006426/0.6131, allocations: 1.983 MB / 0.6096 GB, free: 12.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.6132, allocations: 12 kB / 0.6096 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.6132, allocations: 16 kB / 0.6096 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.6161, allocations: 446.5 kB / 0.61 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.6176, allocations: 371.4 kB / 0.6104 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/0.6241, allocations: 3.599 MB / 0.6139 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6255, allocations: 51.94 kB / 0.6139 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.6258, allocations: 91.97 kB / 0.614 GB, free: 7.488 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.0008492/0.6266, allocations: 320.1 kB / 0.6143 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.6271, allocations: 103.3 kB / 0.6144 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/0.6336, allocations: 1.807 MB / 0.6162 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.6337, allocations: 15.94 kB / 0.6162 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6337, allocations: 4 kB / 0.6162 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6337, allocations: 7.969 kB / 0.6162 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.6357, allocations: 0.9953 MB / 0.6172 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.6358, allocations: 4 kB / 0.6172 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6368, allocations: 235.8 kB / 0.6174 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/0.6395, allocations: 414.1 kB / 0.6178 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.6397, allocations: 47.97 kB / 0.6179 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005676/0.6453, allocations: 3.504 MB / 0.6213 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6453, allocations: 0 / 0.6213 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006934/0.6523, allocations: 2.341 MB / 0.6236 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007074/0.653, allocations: 215.2 kB / 0.6238 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.6533, allocations: 24 kB / 0.6238 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.6541, allocations: 24 kB / 0.6238 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.6544, allocations: 108.7 kB / 0.6239 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.6545, allocations: 55.97 kB / 0.624 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007515/0.6553, allocations: 447 kB / 0.6244 GB, free: 12.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6553, allocations: 0 / 0.6244 GB, free: 12.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003035/0.6583, allocations: 0.8453 MB / 0.6252 GB, free: 11.68 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.002869/0.6612, allocations: 0.9452 MB / 0.6261 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.6647, allocations: 1.515 MB / 0.6276 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6647, allocations: 0 / 0.6276 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.6665, allocations: 0.8561 MB / 0.6285 GB, free: 8.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.6682, allocations: 239.3 kB / 0.6287 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.6735, allocations: 2.426 MB / 0.6311 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.6743, allocations: 0.5371 MB / 0.6316 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.6755, allocations: 296.5 kB / 0.6319 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.676, allocations: 180.4 kB / 0.632 GB, free: 4.555 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.676, allocations: 0 / 0.632 GB, free: 4.555 MB / 478.1 MB Notification: Performance of Templates: time 0.04949/0.7255, allocations: 28.65 MB / 0.66 GB, free: 8.113 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: 6.450379084795713] Failed to read output from testmodel.py, exit status != 0: 0.73619026504457 0.752560435 0.215645313 Calling exit ...