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.001414/0.001414, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001458/0.001458, allocations: 205.5 kB / 20.09 MB, free: 2.977 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 / 253.5 MB, free: 15.09 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.1449/0.1449, allocations: 23.85 MB / 333.4 MB, free: 1.242 MB / 254.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.003319/0.003319, allocations: 64.22 kB / 467.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1191, allocations: 59.83 MB / 0.5146 GB, free: 12.5 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.04221/0.1613, allocations: 27.45 MB / 0.5414 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02552/0.1869, allocations: 19.56 MB / 0.5605 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1881, allocations: 27.75 kB / 0.5606 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.1894, allocations: 416.9 kB / 0.561 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.1943, allocations: 1.656 MB / 0.5626 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007091/0.2014, allocations: 2.501 MB / 0.565 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.2047, allocations: 1.985 MB / 0.567 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.2062, allocations: 0.9467 MB / 0.5679 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.2075, allocations: 1.021 MB / 0.5689 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.2093, allocations: 1.129 MB / 0.57 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.2097, allocations: 172 kB / 0.5701 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006584/0.2163, allocations: 2.192 MB / 0.5723 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.2169, allocations: 434.7 kB / 0.5727 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.2181, allocations: 0.8673 MB / 0.5736 GB, free: 48 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.2282, allocations: 4.245 MB / 0.5777 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.2282, allocations: 0 / 0.5777 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2282, allocations: 4 kB / 0.5777 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.791e-05/0.2283, allocations: 0 / 0.5777 GB, free: 11.78 MB / 446.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.005475/0.2337, allocations: 2.23 MB / 0.5799 GB, free: 9.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2338, allocations: 15.97 kB / 0.5799 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.2355, allocations: 339.3 kB / 0.5802 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.237, allocations: 0.823 MB / 0.581 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.2372, allocations: 162.6 kB / 0.5812 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.2374, allocations: 140.3 kB / 0.5813 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.2406, allocations: 1.724 MB / 0.583 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.2406, allocations: 4 kB / 0.583 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.2408, allocations: 52 kB / 0.583 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.2408, allocations: 32 kB / 0.5831 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.2446, allocations: 2.2 MB / 0.5852 GB, free: 3.91 MB / 446.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.2436/0.4882, allocations: 5.538 MB / 0.5906 GB, free: 62.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006263/0.4945, allocations: 3.133 MB / 0.5937 GB, free: 61.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.496, allocations: 0.7324 MB / 0.5944 GB, free: 61.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00979/0.5058, allocations: 7.055 MB / 0.6013 GB, free: 55.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5058, allocations: 45.94 kB / 0.6013 GB, free: 55.78 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007357/0.5066, allocations: 149.6 kB / 0.6015 GB, free: 55.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 7.655e-06/0.5066, allocations: 0.7188 kB / 0.6015 GB, free: 55.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01839/0.525, allocations: 4.505 MB / 0.6059 GB, free: 53.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.525, allocations: 67.59 kB / 0.606 GB, free: 53.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5261, allocations: 0.7307 MB / 0.6067 GB, free: 53.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.5263, allocations: 46.02 kB / 0.6067 GB, free: 53.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.5267, allocations: 0.6613 MB / 0.6074 GB, free: 53.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.5271, allocations: 432.1 kB / 0.6078 GB, free: 52.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.5276, allocations: 300 kB / 0.6081 GB, free: 52.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.5277, allocations: 356.1 kB / 0.6084 GB, free: 52.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.5286, allocations: 474.7 kB / 0.6088 GB, free: 52.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5297, allocations: 0.9857 MB / 0.6098 GB, free: 51.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.5318, allocations: 1.58 MB / 0.6113 GB, free: 50.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.5318, allocations: 5.5 kB / 0.6114 GB, free: 50.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005763/0.5376, allocations: 1.987 MB / 0.6133 GB, free: 49.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.5376, allocations: 19.72 kB / 0.6133 GB, free: 49.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.5377, allocations: 15.75 kB / 0.6133 GB, free: 49.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.5402, allocations: 443.5 kB / 0.6138 GB, free: 49.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.5415, allocations: 376.8 kB / 0.6141 GB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.5464, allocations: 3.866 MB / 0.6179 GB, free: 45.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5479, allocations: 50.44 kB / 0.6179 GB, free: 45.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.5483, allocations: 91.14 kB / 0.618 GB, free: 45.81 MB / 446.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.0008958/0.5492, allocations: 317.1 kB / 0.6183 GB, free: 45.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/0.5496, allocations: 109.8 kB / 0.6184 GB, free: 45.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.5553, allocations: 1.799 MB / 0.6202 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.5553, allocations: 12.27 kB / 0.6202 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5553, allocations: 0 / 0.6202 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.5554, allocations: 11.91 kB / 0.6202 GB, free: 44.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.5575, allocations: 1.348 MB / 0.6215 GB, free: 43.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5575, allocations: 3.906 kB / 0.6215 GB, free: 43.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.5585, allocations: 235.2 kB / 0.6218 GB, free: 43.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.5608, allocations: 418.9 kB / 0.6222 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.561, allocations: 43.69 kB / 0.6222 GB, free: 43.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.5652, allocations: 3.788 MB / 0.6259 GB, free: 39.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.5652, allocations: 2.656 kB / 0.6259 GB, free: 39.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.5709, allocations: 2.343 MB / 0.6282 GB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.5714, allocations: 297.5 kB / 0.6285 GB, free: 38.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.5716, allocations: 22.09 kB / 0.6285 GB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.5724, allocations: 28.61 kB / 0.6285 GB, free: 38.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.5726, allocations: 110.7 kB / 0.6286 GB, free: 38.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.5727, allocations: 53.38 kB / 0.6287 GB, free: 38.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.5733, allocations: 479.2 kB / 0.6291 GB, free: 37.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5733, allocations: 0 / 0.6291 GB, free: 37.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002471/0.5757, allocations: 0.843 MB / 0.63 GB, free: 37.59 MB / 446.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.001744/0.5775, allocations: 0.9424 MB / 0.6309 GB, free: 37.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.5802, allocations: 1.586 MB / 0.6324 GB, free: 35.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5802, allocations: 4 kB / 0.6324 GB, free: 35.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5815, allocations: 0.9251 MB / 0.6333 GB, free: 34.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5828, allocations: 243.8 kB / 0.6336 GB, free: 34.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.5867, allocations: 2.466 MB / 0.636 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.5872, allocations: 1.125 MB / 0.6371 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.5877, allocations: 237.9 kB / 0.6373 GB, free: 30.71 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5877, allocations: 0 / 0.6373 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Templates: time 0.03875/0.6265, allocations: 37.26 MB / 0.6737 GB, free: 10.32 MB / 462.1 MB " [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: 10.704229091003072] Failed to read output from testmodel.py, exit status != 0: 0.6368878080102149 0.649894085 0.41849184700000003 Calling exit ...