Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 100.3 kB / 18.9 MB, free: 3.168 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 192.4 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8255/0.8255, allocations: 128.4 MB / 434.1 MB, free: 6.184 MB / 334.1 MB [Timeout remaining time 89] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003122/0.003122, allocations: 68.02 kB / 0.6013 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1865, allocations: 83.26 MB / 0.6826 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002859/0.1894, allocations: 1.507 MB / 0.684 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.1898, allocations: 128.5 kB / 0.6842 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1898, allocations: 0 / 0.6842 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.1898, allocations: 0 / 0.6842 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.1899, allocations: 3.938 kB / 0.6842 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1901, allocations: 31.91 kB / 0.6842 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.1902, allocations: 27.92 kB / 0.6842 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1903, allocations: 11.98 kB / 0.6842 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.1903, allocations: 11.94 kB / 0.6842 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1904, allocations: 15.97 kB / 0.6843 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1904, allocations: 4 kB / 0.6843 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.1905, allocations: 11.98 kB / 0.6843 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1905, allocations: 11.94 kB / 0.6843 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.1905, allocations: 11.92 kB / 0.6843 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1906, allocations: 39.83 kB / 0.6843 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1906, allocations: 0 / 0.6843 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1906, allocations: 4 kB / 0.6843 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1906, allocations: 0 / 0.6843 GB, free: 0.9375 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006309/0.1913, allocations: 347.4 kB / 0.6847 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1913, allocations: 11.97 kB / 0.6847 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.1913, allocations: 0.9375 kB / 0.6847 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1916, allocations: 168.3 kB / 0.6848 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1916, allocations: 384 / 0.6848 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1916, allocations: 4.375 kB / 0.6848 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1918, allocations: 66.16 kB / 0.6849 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1918, allocations: 192 / 0.6849 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1918, allocations: 7.938 kB / 0.6849 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1918, allocations: 0 / 0.6849 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.192, allocations: 39.95 kB / 0.685 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1924, allocations: 257 kB / 0.6852 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.1928, allocations: 66.41 kB / 0.6853 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.1929, allocations: 24.91 kB / 0.6853 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.193, allocations: 85.09 kB / 0.6854 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.193, allocations: 30.56 kB / 0.6854 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.193, allocations: 0 / 0.6854 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003853/0.1934, allocations: 97.75 kB / 0.6855 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1935, allocations: 51.41 kB / 0.6855 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.1936, allocations: 105.8 kB / 0.6856 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1936, allocations: 25.7 kB / 0.6857 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1936, allocations: 96.02 kB / 0.6858 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.1936, allocations: 3.953 kB / 0.6858 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1937, allocations: 21.72 kB / 0.6858 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1938, allocations: 310.8 kB / 0.6861 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1939, allocations: 23.97 kB / 0.6861 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.194, allocations: 15.98 kB / 0.6861 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1942, allocations: 44.81 kB / 0.6862 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1942, allocations: 3.938 kB / 0.6862 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.1944, allocations: 77.66 kB / 0.6862 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1944, allocations: 4 kB / 0.6862 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1944, allocations: 0 / 0.6862 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1944, allocations: 0 / 0.6862 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.1945, allocations: 15.92 kB / 0.6863 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1945, allocations: 0 / 0.6863 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.1946, allocations: 11.92 kB / 0.6863 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1946, allocations: 4 kB / 0.6863 GB, free: 14.71 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/0.1947, allocations: 117.8 kB / 0.6864 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1947, allocations: 4 kB / 0.6864 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1949, allocations: 77.14 kB / 0.6865 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1949, allocations: 0 / 0.6865 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.195, allocations: 4 kB / 0.6865 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.195, allocations: 3.984 kB / 0.6865 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1952, allocations: 169.5 kB / 0.6866 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1952, allocations: 4 kB / 0.6866 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.1952, allocations: 15.92 kB / 0.6866 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1952, allocations: 0 / 0.6866 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1953, allocations: 4 kB / 0.6867 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1953, allocations: 0 / 0.6867 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1953, allocations: 7.969 kB / 0.6867 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1955, allocations: 171.5 kB / 0.6868 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1956, allocations: 81.11 kB / 0.6869 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1956, allocations: 480 / 0.6869 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.1957, allocations: 7.984 kB / 0.6869 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1957, allocations: 7.984 kB / 0.6869 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1957, allocations: 4 kB / 0.6869 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.1958, allocations: 83.2 kB / 0.687 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1958, allocations: 4 kB / 0.687 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002166/0.196, allocations: 4 kB / 0.687 GB, free: 13.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.1962, allocations: 119.2 kB / 0.6871 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1964, allocations: 39.95 kB / 0.6872 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1964, allocations: 0 / 0.6872 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.1965, allocations: 23.98 kB / 0.6872 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1968, allocations: 3.938 kB / 0.6872 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1972, allocations: 159.2 kB / 0.6873 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1975, allocations: 0.6729 MB / 0.688 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1976, allocations: 19.36 kB / 0.688 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1976, allocations: 0 / 0.688 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.00246/0.2, allocations: 0.7245 MB / 0.6887 GB, free: 12.03 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480]