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.001542/0.001542, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001697/0.001697, allocations: 213.8 kB / 22.99 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.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.002453/0.002453, allocations: 294.5 kB / 313.5 MB, free: 2.605 MB / 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.154/1.154, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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 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.002886/0.002886, allocations: 104.2 kB / 0.7408 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1685, allocations: 95.38 MB / 0.8339 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001759/0.1702, allocations: 0.5922 MB / 0.8345 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.1705, allocations: 64.12 kB / 0.8345 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.1705, allocations: 3.938 kB / 0.8345 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.1705, allocations: 4 kB / 0.8345 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.1705, allocations: 0 / 0.8345 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1708, allocations: 19.92 kB / 0.8346 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.1709, allocations: 23.97 kB / 0.8346 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1709, allocations: 4 kB / 0.8346 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.1709, allocations: 11.98 kB / 0.8346 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.171, allocations: 11.98 kB / 0.8346 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.171, allocations: 0 / 0.8346 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.1711, allocations: 27.97 kB / 0.8346 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1711, allocations: 19.92 kB / 0.8347 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1711, allocations: 4 kB / 0.8347 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.1712, allocations: 39.83 kB / 0.8347 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1712, allocations: 0 / 0.8347 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1712, allocations: 0 / 0.8347 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1712, allocations: 3.938 kB / 0.8347 GB, free: 6.941 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.0003216/0.1716, allocations: 270.3 kB / 0.835 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1716, allocations: 9.344 kB / 0.835 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1716, allocations: 4.938 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.1717, allocations: 102.5 kB / 0.8351 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1717, allocations: 8.375 kB / 0.8351 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1717, allocations: 4.312 kB / 0.8351 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1719, allocations: 66.23 kB / 0.8352 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1719, allocations: 192 / 0.8352 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1719, allocations: 7.922 kB / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1719, allocations: 0 / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.172, allocations: 95.88 kB / 0.8352 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1722, allocations: 125.2 kB / 0.8354 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1723, allocations: 66.59 kB / 0.8354 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1724, allocations: 37 kB / 0.8355 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.1725, allocations: 15.98 kB / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1726, allocations: 34.56 kB / 0.8355 GB, free: 6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1726, allocations: 0 / 0.8355 GB, free: 6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002418/0.1728, allocations: 117.6 kB / 0.8356 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1728, allocations: 55.41 kB / 0.8357 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.1729, allocations: 97.81 kB / 0.8358 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1729, allocations: 25.7 kB / 0.8358 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.1729, allocations: 84.14 kB / 0.8359 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.173, allocations: 19.8 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.173, allocations: 37.64 kB / 0.8359 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1732, allocations: 322.8 kB / 0.8362 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.1732, allocations: 19.98 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1732, allocations: 20.42 kB / 0.8363 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.1733, allocations: 57 kB / 0.8363 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1733, allocations: 4 kB / 0.8363 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001366/0.1735, allocations: 97.59 kB / 0.8364 GB, free: 5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1735, allocations: 4 kB / 0.8364 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1735, allocations: 0 / 0.8364 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1735, allocations: 7.938 kB / 0.8364 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.1736, allocations: 19.92 kB / 0.8365 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1736, allocations: 4 kB / 0.8365 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.1736, allocations: 7.891 kB / 0.8365 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.1736, allocations: 4 kB / 0.8365 GB, free: 4.953 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 0.0001283/0.1738, allocations: 130.5 kB / 0.8366 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.1738, allocations: 0 / 0.8366 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.174, allocations: 125.4 kB / 0.8367 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.174, allocations: 4 kB / 0.8367 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.174, allocations: 4 kB / 0.8367 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.174, allocations: 3.984 kB / 0.8367 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1741, allocations: 121.2 kB / 0.8368 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1741, allocations: 0 / 0.8368 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.1742, allocations: 19.98 kB / 0.8369 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1742, allocations: 0 / 0.8369 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1742, allocations: 8 kB / 0.8369 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.1742, allocations: 7.938 kB / 0.8369 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1742, allocations: 0 / 0.8369 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1743, allocations: 121 kB / 0.837 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.1743, allocations: 7.938 kB / 0.837 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1744, allocations: 3.938 kB / 0.837 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.1744, allocations: 4 kB / 0.837 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1744, allocations: 7.984 kB / 0.837 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1744, allocations: 4 kB / 0.837 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.1744, allocations: 75.28 kB / 0.8371 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1744, allocations: 0 / 0.8371 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001859/0.1746, allocations: 20 kB / 0.8371 GB, free: 4.23 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.000148/0.1748, allocations: 111.2 kB / 0.8372 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1749, allocations: 59.91 kB / 0.8373 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1749, allocations: 0 / 0.8373 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.175, allocations: 31.97 kB / 0.8373 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1751, allocations: 12.7 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.1754, allocations: 167.8 kB / 0.8375 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.1754, allocations: 71.34 kB / 0.8375 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1755, allocations: 23.42 kB / 0.8376 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1755, allocations: 0 / 0.8376 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of Templates: time 0.002348/0.1778, allocations: 0.9564 MB / 0.8385 GB, free: 2.75 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: 7.942426396068186] Failed to read output from testmodel.py, exit status != 0: 0.18496802635490894 0.199464955 0.025331172000000002 Calling exit ...