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.001243/0.001243, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001271/0.001271, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.325/1.325, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 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.002335/0.002335, allocations: 238.2 kB / 260 MB, free: 452 kB / 238.1 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.8831/0.8831, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 103.8 kB / 0.6474 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3734, allocations: 95.34 MB / 0.7405 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001598/0.375, allocations: 0.5891 MB / 0.7411 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.3752, allocations: 57.28 kB / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.3753, allocations: 0 / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3753, allocations: 0 / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.3753, allocations: 0 / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3755, allocations: 23.22 kB / 0.7412 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.3756, allocations: 29.77 kB / 0.7412 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.3756, allocations: 1.797 kB / 0.7412 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.734e-05/0.3757, allocations: 12.2 kB / 0.7412 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.3757, allocations: 11.05 kB / 0.7412 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3757, allocations: 2.156 kB / 0.7412 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.3758, allocations: 24.06 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.3758, allocations: 15.02 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.3758, allocations: 12.52 kB / 0.7413 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.3759, allocations: 32.64 kB / 0.7413 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3759, allocations: 1.375 kB / 0.7413 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3759, allocations: 0 / 0.7413 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3759, allocations: 0 / 0.7413 GB, free: 17.02 MB / 0.5919 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.0002251/0.3762, allocations: 262.5 kB / 0.7415 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.3762, allocations: 10.66 kB / 0.7415 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.3762, allocations: 3.531 kB / 0.7416 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.343e-05/0.3763, allocations: 113 kB / 0.7417 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3763, allocations: 7.188 kB / 0.7417 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3763, allocations: 3.281 kB / 0.7417 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3764, allocations: 61.27 kB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3764, allocations: 0.8906 kB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3764, allocations: 13.28 kB / 0.7417 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3764, allocations: 1.219 kB / 0.7417 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3766, allocations: 98.38 kB / 0.7418 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.3767, allocations: 123 kB / 0.742 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.3768, allocations: 75.44 kB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.3768, allocations: 25.42 kB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.377, allocations: 32.38 kB / 0.7421 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.377, allocations: 32.53 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.377, allocations: 0 / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0002184/0.3772, allocations: 123.1 kB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.3772, allocations: 53.19 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.012e-05/0.3773, allocations: 96.19 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.3773, allocations: 30.86 kB / 0.7424 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-06/0.3773, allocations: 81.17 kB / 0.7425 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3773, allocations: 28.88 kB / 0.7425 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3773, allocations: 27.53 kB / 0.7425 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.3774, allocations: 323.4 kB / 0.7428 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.3774, allocations: 19.97 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.3774, allocations: 19.73 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.499e-05/0.3775, allocations: 59.78 kB / 0.7429 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3775, allocations: 0 / 0.7429 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001206/0.3776, allocations: 93.14 kB / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3777, allocations: 6.078 kB / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3777, allocations: 0 / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3777, allocations: 5.641 kB / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.3778, allocations: 17.86 kB / 0.7431 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3778, allocations: 1.125 kB / 0.7431 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.3778, allocations: 13.11 kB / 0.7431 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3778, allocations: 3.797 kB / 0.7431 GB, free: 15.5 MB / 0.5919 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.195e-05/0.3779, allocations: 125.1 kB / 0.7432 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.3779, allocations: 2.344 kB / 0.7432 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.3781, allocations: 131.9 kB / 0.7433 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3781, allocations: 1.438 kB / 0.7433 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3781, allocations: 0 / 0.7433 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3781, allocations: 2.094 kB / 0.7433 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.264e-05/0.3782, allocations: 120 kB / 0.7434 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3782, allocations: 4 kB / 0.7434 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.3782, allocations: 18.8 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3782, allocations: 1.312 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3782, allocations: 5.219 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3782, allocations: 4.641 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3782, allocations: 1.344 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3784, allocations: 130.5 kB / 0.7436 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.3784, allocations: 2.188 kB / 0.7436 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3784, allocations: 9.859 kB / 0.7436 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.3784, allocations: 0 / 0.7436 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3784, allocations: 16.12 kB / 0.7436 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3784, allocations: 8.188 kB / 0.7436 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.728e-06/0.3784, allocations: 77.84 kB / 0.7437 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3784, allocations: 1.156 kB / 0.7437 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001957/0.3786, allocations: 10.47 kB / 0.7437 GB, free: 14.97 MB / 0.5919 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.0001119/0.3788, allocations: 112 kB / 0.7438 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3789, allocations: 58.89 kB / 0.7439 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3789, allocations: 0 / 0.7439 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.727e-05/0.3789, allocations: 38.14 kB / 0.7439 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3791, allocations: 6.422 kB / 0.7439 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.3793, allocations: 150.8 kB / 0.7441 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.3793, allocations: 66.06 kB / 0.7441 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.33e-05/0.3794, allocations: 42.58 kB / 0.7442 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.3794, allocations: 15.09 kB / 0.7442 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.3794, allocations: 0 / 0.7442 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.002713/0.3821, allocations: 0.5808 MB / 0.7447 GB, free: 14.52 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.344652522006072] Failed to read output from testmodel.py, exit status != 0: 0.38922951801214367 0.399901822 0.02153342 Calling exit ...