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.0007986/0.0007986, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007591/0.0007591, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8447/0.8447, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.08286/0.08286, allocations: 17.36 MB / 277.3 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 412.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.518e-05, allocations: 6.281 kB / 412.7 MB, free: 15.91 MB / 394.7 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.02373/0.02375, allocations: 27.28 MB / 440 MB, free: 4.695 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1489/0.1727, allocations: 17.17 MB / 457.2 MB, free: 56.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/0.1733, allocations: 21.5 kB / 457.2 MB, free: 56.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.174, allocations: 385.7 kB / 457.6 MB, free: 55.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.1768, allocations: 1.725 MB / 459.3 MB, free: 54.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.1808, allocations: 2.605 MB / 461.9 MB, free: 53.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1822, allocations: 2.041 MB / 463.9 MB, free: 52.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006858/0.1829, allocations: 0.9203 MB / 464.9 MB, free: 51.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008153/0.1837, allocations: 1.38 MB / 466.2 MB, free: 51.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.1845, allocations: 0.9327 MB / 467.2 MB, free: 51.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.1847, allocations: 176 kB / 467.3 MB, free: 51.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.1881, allocations: 2.064 MB / 469.4 MB, free: 50.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1883, allocations: 443.4 kB / 469.8 MB, free: 50.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.1888, allocations: 0.6389 MB / 470.5 MB, free: 50.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.194, allocations: 4.505 MB / 475 MB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.194, allocations: 3.094 kB / 475 MB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.194, allocations: 0 / 475 MB, free: 48.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.194, allocations: 0 / 475 MB, free: 48.21 MB / 410.7 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.002571/0.1966, allocations: 2.144 MB / 477.1 MB, free: 46.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1966, allocations: 8.719 kB / 477.1 MB, free: 46.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.1974, allocations: 342 kB / 477.5 MB, free: 46.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.1983, allocations: 0.7693 MB / 478.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1984, allocations: 207.9 kB / 478.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.1985, allocations: 140.2 kB / 478.6 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2002, allocations: 1.72 MB / 480.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.2002, allocations: 2.844 kB / 480.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.2003, allocations: 55.72 kB / 480.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.2003, allocations: 36.88 kB / 480.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.2022, allocations: 2.168 MB / 482.6 MB, free: 44.82 MB / 410.7 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.005395/0.2076, allocations: 4.432 MB / 487 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.2106, allocations: 2.7 MB / 489.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.2113, allocations: 0.7316 MB / 490.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004806/0.2161, allocations: 3.784 MB / 494.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2161, allocations: 40.44 kB / 494.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003359/0.2165, allocations: 144.6 kB / 494.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 3.237e-06/0.2165, allocations: 0 / 494.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.008943/0.2254, allocations: 4.281 MB / 498.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2255, allocations: 68.48 kB / 498.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.2261, allocations: 0.7062 MB / 499.4 MB, free: 37.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2261, allocations: 46.2 kB / 499.5 MB, free: 37.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2264, allocations: 0.6653 MB / 0.4884 GB, free: 37.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2266, allocations: 427.6 kB / 0.4888 GB, free: 36.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.2268, allocations: 293 kB / 0.4891 GB, free: 36.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.2269, allocations: 350.9 kB / 0.4894 GB, free: 36.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.2274, allocations: 479.1 kB / 0.4899 GB, free: 36.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.2281, allocations: 0.9808 MB / 0.4909 GB, free: 35.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2295, allocations: 1.587 MB / 0.4924 GB, free: 34.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.2295, allocations: 5.281 kB / 0.4924 GB, free: 34.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003018/0.2325, allocations: 1.982 MB / 0.4944 GB, free: 33.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2325, allocations: 15.91 kB / 0.4944 GB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2325, allocations: 16.44 kB / 0.4944 GB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.2338, allocations: 434 kB / 0.4948 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.2344, allocations: 382.6 kB / 0.4952 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2371, allocations: 3.588 MB / 0.4987 GB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.2378, allocations: 57.88 kB / 0.4987 GB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.2379, allocations: 86.48 kB / 0.4988 GB, free: 30.09 MB / 410.7 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.0004185/0.2383, allocations: 317.8 kB / 0.4991 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2384, allocations: 108 kB / 0.4992 GB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.2413, allocations: 1.8 MB / 0.501 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2413, allocations: 12 kB / 0.501 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2413, allocations: 0 / 0.501 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.2413, allocations: 9.812 kB / 0.501 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.2423, allocations: 1.004 MB / 0.502 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2423, allocations: 0 / 0.502 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.2427, allocations: 234.2 kB / 0.5022 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.2438, allocations: 418.1 kB / 0.5026 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.2439, allocations: 47.73 kB / 0.5026 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.246, allocations: 3.494 MB / 0.5061 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.246, allocations: 5.531 kB / 0.5061 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.249, allocations: 2.336 MB / 0.5083 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.2493, allocations: 215.4 kB / 0.5085 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.2494, allocations: 23.94 kB / 0.5086 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.2497, allocations: 32.47 kB / 0.5086 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.2499, allocations: 109.5 kB / 0.5087 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.25, allocations: 50.38 kB / 0.5087 GB, free: 21.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003723/0.2504, allocations: 444.8 kB / 0.5092 GB, free: 21.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2504, allocations: 0 / 0.5092 GB, free: 21.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2523, allocations: 0.8468 MB / 0.51 GB, free: 20.4 MB / 410.7 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.001248/0.2535, allocations: 0.9689 MB / 0.5109 GB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.2553, allocations: 1.515 MB / 0.5124 GB, free: 18.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2553, allocations: 0 / 0.5124 GB, free: 18.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.256, allocations: 0.8652 MB / 0.5133 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.2567, allocations: 243.5 kB / 0.5135 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.2592, allocations: 2.345 MB / 0.5158 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2594, allocations: 0.5396 MB / 0.5163 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.2598, allocations: 231.2 kB / 0.5165 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2598, allocations: 3.938 kB / 0.5165 GB, free: 13.91 MB / 410.7 MB Notification: Performance of Templates: time 0.02469/0.2845, allocations: 37.84 MB / 0.5535 GB, free: 8.707 MB / 442.7 MB " [Timeout remaining time 660] 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: 5.882192058488727] Failed to read output from testmodel.py, exit status != 0: 0.2900778539478779 0.29773413199999993 0.10215800400000001 Calling exit ...