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.001287/0.001287, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001717/0.001717, allocations: 211.1 kB / 22.99 MB, free: 4.953 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1418/0.1418, allocations: 23.86 MB / 337 MB, free: 10.97 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.002036/0.002036, allocations: 67.89 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 59.87 MB / 0.5197 GB, free: 9.832 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.07138/0.3893, allocations: 26.9 MB / 0.546 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.413, allocations: 17.17 MB / 0.5628 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.4143, allocations: 23.81 kB / 0.5628 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.4155, allocations: 379 kB / 0.5632 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.421, allocations: 1.665 MB / 0.5648 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008034/0.4291, allocations: 2.539 MB / 0.5673 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.4323, allocations: 1.977 MB / 0.5692 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.4337, allocations: 0.9354 MB / 0.5701 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.4349, allocations: 1.017 MB / 0.5711 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.4366, allocations: 1.141 MB / 0.5722 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.4369, allocations: 172 kB / 0.5724 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/0.4434, allocations: 2.098 MB / 0.5744 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005267/0.4439, allocations: 434.7 kB / 0.5748 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.4448, allocations: 0.7276 MB / 0.5756 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009441/0.4543, allocations: 4.237 MB / 0.5797 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4543, allocations: 0 / 0.5797 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4543, allocations: 0 / 0.5797 GB, free: 12.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.4543, allocations: 0 / 0.5797 GB, free: 12.38 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.004669/0.4589, allocations: 2.162 MB / 0.5818 GB, free: 10.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.459, allocations: 12.03 kB / 0.5818 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.4606, allocations: 343.3 kB / 0.5821 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.462, allocations: 0.7574 MB / 0.5829 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.4622, allocations: 214 kB / 0.5831 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.4625, allocations: 136.3 kB / 0.5832 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.4655, allocations: 1.724 MB / 0.5849 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.4656, allocations: 0 / 0.5849 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.4657, allocations: 56 kB / 0.585 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.4658, allocations: 32 kB / 0.585 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.4695, allocations: 2.177 MB / 0.5871 GB, free: 4.637 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.009279/0.4788, allocations: 4.433 MB / 0.5914 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/0.4839, allocations: 2.696 MB / 0.5941 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.4852, allocations: 0.727 MB / 0.5948 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008921/0.4941, allocations: 3.794 MB / 0.5985 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4942, allocations: 39.56 kB / 0.5985 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006699/0.4948, allocations: 143.2 kB / 0.5987 GB, free: 8.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.176e-06/0.4948, allocations: 3.938 kB / 0.5987 GB, free: 8.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01912/0.5139, allocations: 4.273 MB / 0.6028 GB, free: 4.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.514, allocations: 68.39 kB / 0.6029 GB, free: 4.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.5149, allocations: 0.7114 MB / 0.6036 GB, free: 3.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.917e-05/0.515, allocations: 45.7 kB / 0.6036 GB, free: 3.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.5156, allocations: 0.6638 MB / 0.6043 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/0.5159, allocations: 432.4 kB / 0.6047 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.5164, allocations: 299.4 kB / 0.605 GB, free: 2.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5165, allocations: 349.9 kB / 0.6053 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008598/0.5174, allocations: 479.8 kB / 0.6058 GB, free: 1.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.5187, allocations: 0.9801 MB / 0.6067 GB, free: 92 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.5212, allocations: 1.585 MB / 0.6083 GB, free: 14.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.5212, allocations: 8 kB / 0.6083 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006232/0.5275, allocations: 1.979 MB / 0.6102 GB, free: 12.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.5275, allocations: 12 kB / 0.6102 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.5275, allocations: 16 kB / 0.6103 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.5305, allocations: 446.5 kB / 0.6107 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5319, allocations: 375.4 kB / 0.611 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.5379, allocations: 3.598 MB / 0.6146 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.5391, allocations: 51.94 kB / 0.6146 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.5393, allocations: 87.97 kB / 0.6147 GB, free: 7.492 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.0005766/0.5398, allocations: 313.3 kB / 0.615 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.5401, allocations: 107.3 kB / 0.6151 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.5461, allocations: 1.799 MB / 0.6168 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.5461, allocations: 15.94 kB / 0.6169 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5461, allocations: 0 / 0.6169 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5461, allocations: 11.97 kB / 0.6169 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5478, allocations: 0.9947 MB / 0.6178 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5479, allocations: 3.938 kB / 0.6178 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.5488, allocations: 235.9 kB / 0.6181 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.5517, allocations: 422 kB / 0.6185 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.5518, allocations: 43.98 kB / 0.6185 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005617/0.5574, allocations: 3.5 MB / 0.6219 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5574, allocations: 4.031 kB / 0.6219 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007031/0.5645, allocations: 2.337 MB / 0.6242 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.5652, allocations: 219.2 kB / 0.6244 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.5653, allocations: 20 kB / 0.6244 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.566, allocations: 28 kB / 0.6245 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.5663, allocations: 108.8 kB / 0.6246 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.5664, allocations: 51.97 kB / 0.6246 GB, free: 12.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006331/0.567, allocations: 451 kB / 0.6251 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.567, allocations: 0 / 0.6251 GB, free: 12.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002708/0.5697, allocations: 0.8376 MB / 0.6259 GB, free: 11.7 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.002467/0.5722, allocations: 0.9451 MB / 0.6268 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.5754, allocations: 1.519 MB / 0.6283 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5754, allocations: 7.938 kB / 0.6283 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.5768, allocations: 0.8561 MB / 0.6291 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5781, allocations: 232.8 kB / 0.6293 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.5828, allocations: 2.434 MB / 0.6317 GB, free: 5.617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.5834, allocations: 0.5332 MB / 0.6322 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001017/0.5844, allocations: 288.6 kB / 0.6325 GB, free: 4.758 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.5848, allocations: 183.3 kB / 0.6327 GB, free: 4.578 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5848, allocations: 0 / 0.6327 GB, free: 4.578 MB / 478.1 MB Notification: Performance of Templates: time 0.04804/0.6329, allocations: 30.85 MB / 0.6628 GB, free: 5.918 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9168407160032075] Failed to read output from testmodel.py, exit status != 0: 0.6418567600048846 0.655509346 0.198250537 Calling exit ...