Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001446/0.001446, allocations: 82.64 kB / 21.47 MB, free: 3.027 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.001075/0.001075, allocations: 169 kB / 24.87 MB, free: 8.863 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.9403/0.9403, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5873/0.5873, allocations: 110.2 MB / 372.1 MB, free: 12.3 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 476.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.502e-05, allocations: 2.312 kB / 476.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00507/0.005085, allocations: 1.599 MB / 478 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.005394, allocations: 137 kB / 478.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.005432, allocations: 1.625 kB / 478.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.005458, allocations: 3.938 kB / 478.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.005505, allocations: 3.938 kB / 478.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.00579, allocations: 36.55 kB / 478.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.005851, allocations: 37.28 kB / 478.2 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.005935, allocations: 12.81 kB / 478.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.005975, allocations: 20.36 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.00601, allocations: 16.66 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.006023, allocations: 2.625 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.006102, allocations: 22 kB / 478.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.006117, allocations: 18.06 kB / 478.3 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.006134, allocations: 7.531 kB / 478.3 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.006246, allocations: 45.22 kB / 478.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006248, allocations: 3.594 kB / 478.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006249, allocations: 0 / 478.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.006253, allocations: 0 / 478.4 MB, free: 13.75 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.0002899/0.006543, allocations: 372.1 kB / 478.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006576, allocations: 8.312 kB / 478.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.006605, allocations: 7.703 kB / 478.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.531e-05/0.006671, allocations: 115.4 kB / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.006689, allocations: 3.031 kB / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.006697, allocations: 7.25 kB / 478.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.006801, allocations: 65.05 kB / 479 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00681, allocations: 192 / 479 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.006817, allocations: 1.031 kB / 479 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006823, allocations: 3.156 kB / 479 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.006852, allocations: 11.16 kB / 479 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.007076, allocations: 258.3 kB / 479.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.007221, allocations: 47.16 kB / 479.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.007239, allocations: 10.59 kB / 479.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.007313, allocations: 18.86 kB / 479.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.007329, allocations: 33.39 kB / 479.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.00733, allocations: 0 / 479.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001293/0.007459, allocations: 63.02 kB / 479.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003032/0.01049, allocations: 51.41 kB / 479.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.01053, allocations: 167 kB / 479.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-06/0.01054, allocations: 29.83 kB / 479.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.01073, allocations: 130.8 kB / 479.8 MB, free: 28.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.01074, allocations: 7.016 kB / 479.8 MB, free: 28.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.01078, allocations: 32.5 kB / 479.8 MB, free: 28.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.01101, allocations: 494.9 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.01102, allocations: 2.688 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.01103, allocations: 6.047 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.01106, allocations: 13.53 kB / 480.3 MB, free: 27.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01106, allocations: 0 / 480.3 MB, free: 27.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.161e-05/0.01113, allocations: 48.06 kB / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01114, allocations: 9.656 kB / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.01114, allocations: 0 / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.01115, allocations: 10.66 kB / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.0112, allocations: 6.719 kB / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.0112, allocations: 0 / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.01122, allocations: 6.656 kB / 480.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.01123, allocations: 0.6562 kB / 480.4 MB, free: 27.8 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: 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 5.948e-05/0.01129, allocations: 155.9 kB / 480.5 MB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.01131, allocations: 7.703 kB / 480.5 MB, free: 27.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/0.01138, allocations: 60.2 kB / 480.6 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01138, allocations: 2.688 kB / 480.6 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01139, allocations: 1.156 kB / 480.6 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01139, allocations: 0 / 480.6 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.01149, allocations: 102.1 kB / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.01149, allocations: 0.5 kB / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.01152, allocations: 11.36 kB / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.01152, allocations: 0 / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.01153, allocations: 6.5 kB / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.01153, allocations: 0 / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01153, allocations: 3.938 kB / 480.7 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.01161, allocations: 189.4 kB / 480.9 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.01162, allocations: 4.172 kB / 480.9 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.01162, allocations: 2.719 kB / 480.9 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.01167, allocations: 3.781 kB / 480.9 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.01171, allocations: 15.88 kB / 480.9 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.01171, allocations: 3.812 kB / 480.9 MB, free: 27.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.01175, allocations: 136.1 kB / 481.1 MB, free: 27.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01175, allocations: 0 / 481.1 MB, free: 27.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01196, allocations: 15.23 kB / 481.1 MB, free: 27.12 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: 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 8.545e-05/0.01205, allocations: 99.84 kB / 481.2 MB, free: 27.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.01211, allocations: 24.34 kB / 481.2 MB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.01211, allocations: 0 / 481.2 MB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.01214, allocations: 16.09 kB / 481.2 MB, free: 27.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01234, allocations: 14.7 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.01253, allocations: 123.5 kB / 481.4 MB, free: 26.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.272e-05/0.01256, allocations: 57.69 kB / 481.4 MB, free: 26.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.211e-05/0.01258, allocations: 3.656 kB / 481.4 MB, free: 26.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.01262, allocations: 72.64 kB / 481.5 MB, free: 26.75 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01262, allocations: 0 / 481.5 MB, free: 26.75 MB / 426.7 MB Notification: Performance of Templates: time 0.005427/0.01805, allocations: 0.8823 MB / 482.4 MB, free: 26.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4126581819728017]