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.001272/0.001272, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001329/0.001329, allocations: 156.4 kB / 23.01 MB, free: 4.961 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.332/1.332, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.00238/0.00238, allocations: 234.2 kB / 260 MB, free: 436 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.8969/0.8969, allocations: 138.5 MB / 455 MB, free: 15.09 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.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: 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.002904/0.002904, allocations: 107.8 kB / 0.6474 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3718, allocations: 95.33 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002512/0.3743, allocations: 1.563 MB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.3747, allocations: 130.7 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.3747, allocations: 1.531 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.3748, allocations: 4.594 kB / 0.7421 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.3748, allocations: 8.641 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3751, allocations: 28.83 kB / 0.7421 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.3751, allocations: 39.11 kB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.3752, allocations: 7.453 kB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.3753, allocations: 15.05 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.3753, allocations: 21.89 kB / 0.7422 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3753, allocations: 2.656 kB / 0.7422 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.3754, allocations: 25.48 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3754, allocations: 6.906 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.3754, allocations: 13.48 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3755, allocations: 53.17 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3755, allocations: 1.438 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3755, allocations: 0 / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3755, allocations: 0.6094 kB / 0.7423 GB, free: 16.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000355/0.3759, allocations: 282.8 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.3759, allocations: 10.03 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.376, allocations: 4.422 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.376, allocations: 113.4 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.376, allocations: 2.438 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.3761, allocations: 3.75 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3762, allocations: 65.08 kB / 0.7428 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3762, allocations: 1.281 kB / 0.7428 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3762, allocations: 3.938 kB / 0.7428 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3763, allocations: 5.766 kB / 0.7428 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3764, allocations: 47.61 kB / 0.7428 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.3767, allocations: 207.9 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.377, allocations: 65.38 kB / 0.7431 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.3771, allocations: 28.84 kB / 0.7431 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.3772, allocations: 17.89 kB / 0.7431 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3772, allocations: 38.02 kB / 0.7432 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3772, allocations: 0 / 0.7432 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.3776, allocations: 92.61 kB / 0.7433 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.3776, allocations: 56.3 kB / 0.7433 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.3776, allocations: 103.8 kB / 0.7434 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.3776, allocations: 33.64 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.3777, allocations: 82.94 kB / 0.7435 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.3777, allocations: 17.88 kB / 0.7436 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3777, allocations: 16.25 kB / 0.7436 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.3778, allocations: 316.9 kB / 0.7439 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.3778, allocations: 16.69 kB / 0.7439 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.3779, allocations: 21.59 kB / 0.7439 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3781, allocations: 53.38 kB / 0.744 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3781, allocations: 3.938 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002048/0.3783, allocations: 77.5 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.3783, allocations: 5.938 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3783, allocations: 0.6094 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3783, allocations: 1.422 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.3784, allocations: 14.23 kB / 0.7441 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3784, allocations: 2.297 kB / 0.7441 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.3785, allocations: 8.984 kB / 0.7441 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3785, allocations: 1.984 kB / 0.7441 GB, free: 14.63 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: 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 4.266e-05/0.3785, allocations: 117.5 kB / 0.7442 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.3785, allocations: 5.562 kB / 0.7442 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3788, allocations: 81 kB / 0.7443 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3788, allocations: 0 / 0.7443 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3788, allocations: 0 / 0.7443 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3788, allocations: 0.7031 kB / 0.7443 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.148e-05/0.3789, allocations: 116.2 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3789, allocations: 1.75 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.3789, allocations: 11.08 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3789, allocations: 3.938 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.379, allocations: 2.578 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.379, allocations: 0 / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.379, allocations: 0 / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.3792, allocations: 179.2 kB / 0.7446 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.3792, allocations: 1.281 kB / 0.7446 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3792, allocations: 6.125 kB / 0.7446 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.3793, allocations: 6.172 kB / 0.7446 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3793, allocations: 13.7 kB / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3793, allocations: 1.812 kB / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.09e-05/0.3793, allocations: 80.66 kB / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 0 / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000223/0.3796, allocations: 9.062 kB / 0.7447 GB, free: 14.09 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: 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 9.913e-05/0.3797, allocations: 114.6 kB / 0.7448 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3799, allocations: 48.44 kB / 0.7448 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3799, allocations: 1.438 kB / 0.7448 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.38, allocations: 32.23 kB / 0.7449 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.3802, allocations: 10.97 kB / 0.7449 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.3805, allocations: 117.5 kB / 0.745 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.3805, allocations: 66.91 kB / 0.7451 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3805, allocations: 12.62 kB / 0.7451 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.3806, allocations: 10.88 kB / 0.7451 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.3806, allocations: 4.75 kB / 0.7451 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.003067/0.3836, allocations: 0.7779 MB / 0.7458 GB, free: 13.64 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.365948690916412] Failed to read output from testmodel.py, exit status != 0: 0.3906365679576993 0.40124901799999996 0.023238608 Calling exit ...