Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001201/0.001201, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002388/0.003589, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001179/0.001179, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002336, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9901/0.9901, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1041/0.1041, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01128/0.1154, allocations: 6.985 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.91e-07/8.91e-07, allocations: 0 / 269.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.108e-05, allocations: 2.312 kB / 269.9 MB, free: 4.992 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335: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.1-master/Obsolete.mo:14335:7-14335: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.1402/0.1402, allocations: 6.949 MB / 276.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.1598, allocations: 19.56 MB / 296.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.161, allocations: 26.66 kB / 296.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.162, allocations: 392.4 kB / 296.8 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.1661, allocations: 1.697 MB / 298.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.1716, allocations: 2.589 MB / 301.1 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1737, allocations: 2.025 MB / 303.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.1745, allocations: 0.9764 MB / 304.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.1757, allocations: 1.461 MB / 305.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.1769, allocations: 0.9393 MB / 306.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.1771, allocations: 176 kB / 306.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.1813, allocations: 2.156 MB / 308.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.1816, allocations: 303.1 kB / 309.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.1821, allocations: 499.2 kB / 309.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.1864, allocations: 3.545 MB / 313.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.1864, allocations: 0 / 313.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1864, allocations: 0 / 313.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.1865, allocations: 0 / 313.1 MB, free: 7.031 MB / 298.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.002952/0.1894, allocations: 2.692 MB / 315.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1894, allocations: 16.03 kB / 315.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.1907, allocations: 0.5896 MB / 316.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.1916, allocations: 0.598 MB / 317 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1917, allocations: 206 kB / 317.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.1919, allocations: 144.3 kB / 317.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.1937, allocations: 1.246 MB / 318.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1937, allocations: 4.188 kB / 318.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.1938, allocations: 64.11 kB / 318.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.1938, allocations: 35.94 kB / 318.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.1953, allocations: 1.07 MB / 319.8 MB, free: 212 kB / 298.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.004849/0.2001, allocations: 3.262 MB / 323 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.204, allocations: 2.863 MB / 325.9 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.2045, allocations: 372.5 kB / 326.3 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004974/0.2094, allocations: 3.071 MB / 329.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2095, allocations: 43.56 kB / 329.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003305/0.2098, allocations: 131.2 kB / 329.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 2.505e-06/0.2098, allocations: 3.938 kB / 329.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.01072/0.2205, allocations: 3.74 MB / 333.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2206, allocations: 68.34 kB / 333.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.221, allocations: 0.6516 MB / 334 MB, free: 1.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.2211, allocations: 41.7 kB / 334 MB, free: 1.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.2214, allocations: 0.5907 MB / 334.6 MB, free: 1.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.2216, allocations: 432.3 kB / 335 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.2219, allocations: 303.2 kB / 335.3 MB, free: 476 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2221, allocations: 357.8 kB / 335.7 MB, free: 112 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.2224, allocations: 190.7 kB / 335.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.2229, allocations: 0.7131 MB / 336.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.224, allocations: 1.127 MB / 337.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.224, allocations: 8 kB / 337.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002695/0.2267, allocations: 1.187 MB / 338.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2267, allocations: 12 kB / 338.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.2267, allocations: 16 kB / 338.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.2285, allocations: 450.6 kB / 339.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.2295, allocations: 447.4 kB / 339.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.2323, allocations: 3.029 MB / 342.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.2328, allocations: 54.19 kB / 342.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2329, allocations: 75.97 kB / 343 MB, free: 8.176 MB / 330.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.000276/0.2332, allocations: 220.1 kB / 343.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.2334, allocations: 95.84 kB / 343.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.2359, allocations: 1.098 MB / 344.4 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.2359, allocations: 12 kB / 344.4 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2359, allocations: 4 kB / 344.4 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2359, allocations: 3.984 kB / 344.4 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2369, allocations: 0.8209 MB / 345.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2369, allocations: 8 kB / 345.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.2376, allocations: 287.6 kB / 345.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.2378, allocations: 135.2 kB / 345.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.2397, allocations: 426.2 kB / 346 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.2398, allocations: 39.97 kB / 346.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.2423, allocations: 2.925 MB / 349 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2423, allocations: 4 kB / 349 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.2443, allocations: 1.297 MB / 350.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.2444, allocations: 28 kB / 350.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.2446, allocations: 27.98 kB / 350.4 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.2447, allocations: 112.7 kB / 350.5 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.2448, allocations: 39.97 kB / 350.5 MB, free: 348 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.245, allocations: 288.5 kB / 350.8 MB, free: 64 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.245, allocations: 0 / 350.8 MB, free: 64 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001607/0.2466, allocations: 0.8453 MB / 351.6 MB, free: 15.21 MB / 346.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.001147/0.2477, allocations: 1.01 MB / 352.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.2489, allocations: 1.071 MB / 353.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/0.249, allocations: 25.8 kB / 353.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.2495, allocations: 0.724 MB / 354.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.2505, allocations: 1.591 MB / 356.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.259, allocations: 2.203 MB / 358.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2591, allocations: 238.5 kB / 358.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.2596, allocations: 276.8 kB / 358.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/0.2602, allocations: 377 kB / 359.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2602, allocations: 0 / 359.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of Templates: time 0.03319/0.2934, allocations: 32.98 MB / 392.1 MB, free: 6.535 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6787704043090343]