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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.002253/0.002253, allocations: 282.4 kB / 303.6 MB, free: 3.711 MB / 238.1 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 1.015/1.015, allocations: 180.9 MB / 0.5268 GB, free: 2.707 MB / 382.1 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.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(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 0.002659/0.002659, allocations: 99.84 kB / 0.726 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4788, allocations: 94.15 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001567/0.4804, allocations: 0.5878 MB / 0.8185 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.4807, allocations: 61.5 kB / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.4807, allocations: 0 / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.4807, allocations: 1 kB / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.4808, allocations: 0 / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.481, allocations: 18.2 kB / 0.8186 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.4811, allocations: 30.47 kB / 0.8186 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.4811, allocations: 1.344 kB / 0.8186 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.4812, allocations: 14.14 kB / 0.8186 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.93e-05/0.4812, allocations: 16.69 kB / 0.8186 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4812, allocations: 5.188 kB / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.4813, allocations: 23.09 kB / 0.8186 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.4813, allocations: 10.81 kB / 0.8186 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.4813, allocations: 14.64 kB / 0.8187 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/0.4814, allocations: 30.91 kB / 0.8187 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4814, allocations: 0.9375 kB / 0.8187 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4814, allocations: 0 / 0.8187 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4815, allocations: 0 / 0.8187 GB, free: 6.98 MB / 0.5762 GB 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.0002723/0.4817, allocations: 342.5 kB / 0.819 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4818, allocations: 14.25 kB / 0.819 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.4818, allocations: 1.906 kB / 0.819 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.443e-05/0.4818, allocations: 165.4 kB / 0.8192 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4819, allocations: 3.281 kB / 0.8192 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.4819, allocations: 7.156 kB / 0.8192 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.482, allocations: 66.48 kB / 0.8193 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.482, allocations: 4.172 kB / 0.8193 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.482, allocations: 5.062 kB / 0.8193 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.482, allocations: 0.9375 kB / 0.8193 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4822, allocations: 100.3 kB / 0.8194 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.4823, allocations: 182.3 kB / 0.8195 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.4824, allocations: 69.89 kB / 0.8196 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.4824, allocations: 28.59 kB / 0.8196 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.4827, allocations: 405.1 kB / 0.82 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.4827, allocations: 31.81 kB / 0.8201 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4827, allocations: 0 / 0.8201 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002304/0.4829, allocations: 122.8 kB / 0.8202 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.4829, allocations: 57.75 kB / 0.8202 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.266e-05/0.4829, allocations: 94.84 kB / 0.8203 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.483, allocations: 25.7 kB / 0.8203 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-06/0.483, allocations: 85.73 kB / 0.8204 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.483, allocations: 19.02 kB / 0.8204 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.483, allocations: 31.38 kB / 0.8205 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.4831, allocations: 320 kB / 0.8208 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.4831, allocations: 23.42 kB / 0.8208 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.4831, allocations: 20.14 kB / 0.8208 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.4832, allocations: 59.19 kB / 0.8209 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4832, allocations: 1.562 kB / 0.8209 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001229/0.4833, allocations: 102.3 kB / 0.821 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4834, allocations: 6.656 kB / 0.821 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4834, allocations: 7.875 kB / 0.821 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4834, allocations: 0.7812 kB / 0.821 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.4835, allocations: 16.52 kB / 0.821 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4835, allocations: 1.641 kB / 0.821 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.4835, allocations: 5.781 kB / 0.821 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4835, allocations: 10.47 kB / 0.821 GB, free: 4.766 MB / 0.5762 GB 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.366e-05/0.4836, allocations: 128.3 kB / 0.8211 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.4836, allocations: 5.891 kB / 0.8212 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.4838, allocations: 124.9 kB / 0.8213 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4838, allocations: 1.5 kB / 0.8213 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4838, allocations: 0 / 0.8213 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4838, allocations: 4.906 kB / 0.8213 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.617e-05/0.4839, allocations: 181.2 kB / 0.8214 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4839, allocations: 0 / 0.8214 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.484, allocations: 18.31 kB / 0.8215 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.484, allocations: 4.812 kB / 0.8215 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.484, allocations: 1.688 kB / 0.8215 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.484, allocations: 4.281 kB / 0.8215 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.484, allocations: 0 / 0.8215 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.4841, allocations: 124.8 kB / 0.8216 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.4841, allocations: 86.81 kB / 0.8217 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4841, allocations: 4.812 kB / 0.8217 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.56e-05/0.4841, allocations: 0.8438 kB / 0.8217 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.4842, allocations: 8.094 kB / 0.8217 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4842, allocations: 7.438 kB / 0.8217 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.069e-05/0.4842, allocations: 75.28 kB / 0.8218 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.4842, allocations: 0 / 0.8218 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001842/0.4844, allocations: 11.25 kB / 0.8218 GB, free: 4.082 MB / 0.5762 GB 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.0001341/0.4845, allocations: 119.8 kB / 0.8219 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.4847, allocations: 63.47 kB / 0.822 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4847, allocations: 0 / 0.822 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.4847, allocations: 35.89 kB / 0.822 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.4848, allocations: 8.75 kB / 0.822 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.4851, allocations: 178.2 kB / 0.8222 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.4851, allocations: 0.6881 MB / 0.8228 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.4852, allocations: 16.84 kB / 0.8229 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.4852, allocations: 1.375 kB / 0.8229 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.002557/0.4877, allocations: 0.9614 MB / 0.8238 GB, free: 3.004 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.024342257063836] Failed to read output from testmodel.py, exit status != 0: 0.4947724798694253 0.505713552 0.021346596000000002 Calling exit ...