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.00176/0.00176, allocations: 79.12 kB / 19.18 MB, free: 2.516 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.002206/0.002206, allocations: 165.3 kB / 22.46 MB, free: 5.375 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.002548/0.002548, allocations: 230.7 kB / 259.4 MB, free: 468 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 1.056/1.056, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.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: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.921e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001871/0.0019, allocations: 0.5964 MB / 0.6474 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002787/0.002179, allocations: 47.8 kB / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.002199, allocations: 0 / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.002227, allocations: 0 / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.055e-05/0.002237, allocations: 3.938 kB / 0.6475 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.002528, allocations: 27.91 kB / 0.6475 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.002627, allocations: 39.89 kB / 0.6475 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.002666, allocations: 0 / 0.6475 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.002702, allocations: 8 kB / 0.6475 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.002737, allocations: 19.97 kB / 0.6476 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.002752, allocations: 0 / 0.6476 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.002852, allocations: 19.97 kB / 0.6476 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.002883, allocations: 11.98 kB / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.00291, allocations: 4 kB / 0.6476 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003032, allocations: 47.8 kB / 0.6476 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003035, allocations: 0 / 0.6476 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/0.003038, allocations: 8 kB / 0.6477 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.003042, allocations: 0 / 0.6477 GB, free: 4.137 MB / 0.5606 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.0003433/0.003385, allocations: 254.3 kB / 0.6479 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.003422, allocations: 13.28 kB / 0.6479 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.003459, allocations: 8.891 kB / 0.6479 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.003547, allocations: 101.8 kB / 0.648 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.003562, allocations: 8.375 kB / 0.648 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.00358, allocations: 8.359 kB / 0.648 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.003725, allocations: 62.17 kB / 0.6481 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.003734, allocations: 192 / 0.6481 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003745, allocations: 4.375 kB / 0.6481 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.003755, allocations: 20.23 kB / 0.6481 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.003908, allocations: 103.7 kB / 0.6482 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.004058, allocations: 105.3 kB / 0.6483 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.004187, allocations: 70.53 kB / 0.6484 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.004249, allocations: 28.84 kB / 0.6484 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.004423, allocations: 15.98 kB / 0.6484 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.004453, allocations: 34.56 kB / 0.6485 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.004454, allocations: 0 / 0.6485 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002659/0.00472, allocations: 121.8 kB / 0.6486 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.004756, allocations: 51.41 kB / 0.6486 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.004811, allocations: 101.8 kB / 0.6487 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.00483, allocations: 29.7 kB / 0.6487 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.004872, allocations: 85.38 kB / 0.6488 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.004904, allocations: 19.8 kB / 0.6488 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.004954, allocations: 33.7 kB / 0.6489 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.005091, allocations: 314.8 kB / 0.6492 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.005132, allocations: 19.98 kB / 0.6492 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.005176, allocations: 19.98 kB / 0.6492 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.005282, allocations: 56.83 kB / 0.6493 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005283, allocations: 0 / 0.6493 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001543/0.005437, allocations: 98.2 kB / 0.6494 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.005451, allocations: 8 kB / 0.6494 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005456, allocations: 4 kB / 0.6494 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.005469, allocations: 0 / 0.6494 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.005572, allocations: 19.98 kB / 0.6494 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005577, allocations: 0 / 0.6494 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.005604, allocations: 11.83 kB / 0.6494 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.005615, allocations: 8 kB / 0.6494 GB, free: 2.16 MB / 0.5606 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 0.0001381/0.005753, allocations: 125.8 kB / 0.6495 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.005765, allocations: 0 / 0.6495 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.005994, allocations: 129.6 kB / 0.6497 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005996, allocations: 0 / 0.6497 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.006002, allocations: 3.984 kB / 0.6497 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.006007, allocations: 3.938 kB / 0.6497 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.006117, allocations: 113.3 kB / 0.6498 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006118, allocations: 0 / 0.6498 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.006196, allocations: 23.98 kB / 0.6498 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.006201, allocations: 4 kB / 0.6498 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.006211, allocations: 4 kB / 0.6498 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.006216, allocations: 7.922 kB / 0.6498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006217, allocations: 7.938 kB / 0.6498 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.006393, allocations: 125 kB / 0.6499 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.0064, allocations: 7.938 kB / 0.6499 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.006415, allocations: 3.984 kB / 0.65 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.006437, allocations: 8 kB / 0.65 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.006479, allocations: 7.922 kB / 0.65 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.006486, allocations: 4 kB / 0.65 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.00652, allocations: 75.28 kB / 0.65 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.00652, allocations: 0 / 0.65 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002055/0.006726, allocations: 16 kB / 0.6501 GB, free: 1.434 MB / 0.5606 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.0001808/0.006907, allocations: 119.2 kB / 0.6502 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.007045, allocations: 51.97 kB / 0.6502 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007047, allocations: 0 / 0.6502 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.007102, allocations: 35.86 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.007243, allocations: 8 kB / 0.6503 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.007546, allocations: 148.7 kB / 0.6504 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.007611, allocations: 63.34 kB / 0.6505 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.007e-05/0.007691, allocations: 39.94 kB / 0.6505 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.007722, allocations: 20.5 kB / 0.6505 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.007722, allocations: 0 / 0.6505 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of Templates: time 0.003235/0.01096, allocations: 0.5936 MB / 0.6511 GB, free: 324 kB / 0.5606 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: 5.771366849541664] Failed to read output from testmodel.py, exit status != 0: 0.2737037092447281 0.281286062 0.27614005 Calling exit ...