Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.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.0009407/0.0009407, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001034/0.001034, allocations: 177 kB / 23.36 MB, free: 1.133 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.9951/0.9951, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001657/0.001657, allocations: 250.5 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7276/0.7276, allocations: 138.4 MB / 402.2 MB, free: 0.5312 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.492e-05, allocations: 3.844 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001814/0.001839, allocations: 0.6028 MB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.002093, allocations: 57.2 kB / 463 MB, free: 488 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.002113, allocations: 0.9062 kB / 463 MB, free: 488 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.002156, allocations: 0 / 463 MB, free: 488 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-06/0.002164, allocations: 1.797 kB / 463 MB, free: 488 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.002466, allocations: 19.81 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.002548, allocations: 36.53 kB / 463.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.002585, allocations: 2.25 kB / 463.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.002625, allocations: 9.031 kB / 463.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.002652, allocations: 17.11 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.002667, allocations: 4.031 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.002761, allocations: 19.03 kB / 463.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.002788, allocations: 12.42 kB / 463.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.002812, allocations: 7 kB / 463.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002915, allocations: 51.42 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002917, allocations: 0 / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002918, allocations: 2.078 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.002921, allocations: 0 / 463.2 MB, free: 428 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002228/0.003143, allocations: 234.6 kB / 463.4 MB, free: 188 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.003177, allocations: 9.406 kB / 463.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.003208, allocations: 6.641 kB / 463.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.211e-05/0.003251, allocations: 105.3 kB / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.003264, allocations: 3.172 kB / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.003278, allocations: 9.062 kB / 463.6 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.003372, allocations: 51.19 kB / 463.6 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.00338, allocations: 1.406 kB / 463.6 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.003387, allocations: 7.625 kB / 463.6 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.003395, allocations: 3.672 kB / 463.6 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.00351, allocations: 72.27 kB / 463.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.003642, allocations: 79.14 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.003726, allocations: 45.56 kB / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.003753, allocations: 16.41 kB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.003896, allocations: 26.31 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.003921, allocations: 32.72 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.003923, allocations: 5.875 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001546/0.004077, allocations: 73.58 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.004111, allocations: 52.75 kB / 464 MB, free: 15.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.004151, allocations: 96.61 kB / 464.1 MB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.004164, allocations: 26.73 kB / 464.2 MB, free: 15.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.004188, allocations: 80.8 kB / 464.2 MB, free: 15.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.004218, allocations: 26.39 kB / 464.3 MB, free: 15.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.004262, allocations: 29.94 kB / 464.3 MB, free: 15.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.004352, allocations: 319.2 kB / 464.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.004372, allocations: 9.484 kB / 464.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.004391, allocations: 7.656 kB / 464.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.004464, allocations: 43.75 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.004467, allocations: 3.156 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.359e-05/0.00456, allocations: 63.02 kB / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.004574, allocations: 5.922 kB / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004578, allocations: 0 / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.004591, allocations: 1.438 kB / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.004675, allocations: 17.45 kB / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.004678, allocations: 0.8438 kB / 464.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.004696, allocations: 5.438 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.004704, allocations: 8.906 kB / 464.8 MB, free: 15.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.311e-05/0.004787, allocations: 124.8 kB / 464.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.0048, allocations: 5.109 kB / 464.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.004942, allocations: 92.19 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.004945, allocations: 1.562 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.004947, allocations: 3.312 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.004951, allocations: 0.8438 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.005031, allocations: 82.33 kB / 465.1 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005033, allocations: 3.094 kB / 465.1 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.00509, allocations: 20.31 kB / 465.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005092, allocations: 1.25 kB / 465.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.005102, allocations: 5.922 kB / 465.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.005103, allocations: 3.312 kB / 465.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.005106, allocations: 1.891 kB / 465.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.495e-05/0.005201, allocations: 87.47 kB / 465.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.005211, allocations: 8.906 kB / 465.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.005222, allocations: 6.359 kB / 465.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.005235, allocations: 2.219 kB / 465.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.005266, allocations: 11.11 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.005272, allocations: 2.25 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.065e-06/0.00528, allocations: 8.797 kB / 465.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00528, allocations: 0.625 kB / 465.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.00547, allocations: 15.75 kB / 465.2 MB, free: 14.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001392/0.005609, allocations: 95.19 kB / 465.3 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.005709, allocations: 45.89 kB / 465.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.005713, allocations: 4 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.00576, allocations: 30.5 kB / 465.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.186e-05/0.005822, allocations: 7.234 kB / 465.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.006048, allocations: 125.9 kB / 465.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.006085, allocations: 58.47 kB / 465.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.006123, allocations: 24.3 kB / 465.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.006169, allocations: 59.16 kB / 465.7 MB, free: 14.39 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.00617, allocations: 1.406 kB / 465.7 MB, free: 14.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002609/0.008778, allocations: 0.6988 MB / 466.4 MB, free: 14.34 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.513652481138706]