Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0009503/0.0009503, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002288, 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.0009921/0.0009921, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002281, 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.9625/0.9625, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08385/1.046, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001276/0.001276, allocations: 234.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.002329, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.683/0.683, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07312/0.7562, allocations: 42.41 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.482e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003071/0.003096, allocations: 1.644 MB / 429.7 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000301/0.003397, allocations: 136.3 kB / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.00343, allocations: 0 / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.003459, allocations: 0 / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.688e-05/0.003496, allocations: 7.875 kB / 429.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003718, allocations: 35.83 kB / 429.9 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.003795, allocations: 39.92 kB / 429.9 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.003884, allocations: 11.98 kB / 430 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.003947, allocations: 23.91 kB / 430 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.004002, allocations: 15.98 kB / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004018, allocations: 0 / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.004146, allocations: 27.97 kB / 430 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.004164, allocations: 7.938 kB / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.004185, allocations: 8 kB / 430 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004328, allocations: 35.84 kB / 430.1 MB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.004344, allocations: 3.984 kB / 430.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.004345, allocations: 0 / 430.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.00436, allocations: 4 kB / 430.1 MB, free: 2.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000412/0.004772, allocations: 252.6 kB / 430.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00481, allocations: 11.98 kB / 430.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.004843, allocations: 4.938 kB / 430.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004946, allocations: 117.6 kB / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.004967, allocations: 384 / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.004983, allocations: 8.375 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.005132, allocations: 58.94 kB / 430.5 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00514, allocations: 192 / 430.5 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.00515, allocations: 4.375 kB / 430.5 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005156, allocations: 4.375 kB / 430.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.005194, allocations: 19.86 kB / 430.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.005481, allocations: 172.2 kB / 430.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.005655, allocations: 30.56 kB / 430.7 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.005673, allocations: 8.859 kB / 430.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.005767, allocations: 23.98 kB / 430.8 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.00579, allocations: 30.56 kB / 430.8 MB, free: 1.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.005791, allocations: 0 / 430.8 MB, free: 1.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001344/0.005925, allocations: 49.56 kB / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.005951, allocations: 55.41 kB / 430.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.006018, allocations: 110.8 kB / 431 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.006031, allocations: 25.7 kB / 431 MB, free: 1.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.006067, allocations: 84.09 kB / 431.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.006087, allocations: 15.94 kB / 431.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.006122, allocations: 17.7 kB / 431.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.006207, allocations: 314.8 kB / 431.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.006222, allocations: 4 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.006233, allocations: 0 / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.006271, allocations: 21.11 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006273, allocations: 4 kB / 431.5 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.667e-05/0.00634, allocations: 45.62 kB / 431.5 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006352, allocations: 4 kB / 431.5 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006357, allocations: 3.938 kB / 431.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006368, allocations: 0 / 431.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.006436, allocations: 11.98 kB / 431.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-06/0.006439, allocations: 0 / 431.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.006467, allocations: 7.938 kB / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006473, allocations: 3.984 kB / 431.6 MB, free: 0.7969 MB / 410.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: 2 (falFac.y,rea2Int.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 6.357e-05/0.006537, allocations: 117.8 kB / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.006558, allocations: 0 / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.006653, allocations: 53.25 kB / 431.7 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006656, allocations: 7.922 kB / 431.7 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.006658, allocations: 4 kB / 431.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006661, allocations: 0 / 431.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.006777, allocations: 61.91 kB / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.006778, allocations: 0 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.006826, allocations: 11.98 kB / 431.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.006836, allocations: 7.953 kB / 431.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006838, allocations: 0 / 431.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.006843, allocations: 4 kB / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.006847, allocations: 3.938 kB / 431.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.006849, allocations: 3.984 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.006947, allocations: 139.7 kB / 432 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006956, allocations: 0 / 432 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.007015, allocations: 8 kB / 432 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.007055, allocations: 11.92 kB / 432 MB, free: 328 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.007059, allocations: 4 kB / 432 MB, free: 324 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.007073, allocations: 8.859 kB / 432 MB, free: 312 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007073, allocations: 0 / 432 MB, free: 312 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.007287, allocations: 16 kB / 432 MB, free: 296 kB / 410.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: 2 (rea2Int.y,falFac.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.0001313/0.007419, allocations: 84.41 kB / 432.1 MB, free: 204 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.007489, allocations: 16.84 kB / 432.1 MB, free: 184 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.007493, allocations: 0 / 432.1 MB, free: 184 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.007526, allocations: 13.14 kB / 432.1 MB, free: 168 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.007721, allocations: 45.62 kB / 432.2 MB, free: 116 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1644/0.1721, allocations: 122.5 kB / 432.3 MB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.1721, allocations: 57.67 kB / 432.4 MB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.1722, allocations: 5.109 kB / 432.4 MB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1722, allocations: 57.05 kB / 432.4 MB, free: 2.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1722, allocations: 0 / 432.4 MB, free: 2.688 MB / 410.7 MB Notification: Performance of Templates: time 0.002362/0.1746, allocations: 0.8278 MB / 433.2 MB, free: 2.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3081873496994376]