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.0006282/0.0006282, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008023/0.00143, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007238/0.0007238, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009973/0.001721, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9336/0.9336, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/1.045, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.00124/0.00124, allocations: 232.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009707/0.002211, allocations: 467 kB / 244.6 MB, free: 14.18 MB / 250.7 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 0.6966/0.6966, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06667/0.7633, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.915e-05, allocations: 6.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001926/0.001945, allocations: 1.64 MB / 429.4 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.002136, allocations: 136.4 kB / 429.6 MB, free: 2.828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.002165, allocations: 3.938 kB / 429.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.002185, allocations: 3.938 kB / 429.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.083e-05/0.002206, allocations: 3.938 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.002366, allocations: 31.84 kB / 429.6 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.002426, allocations: 31.92 kB / 429.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.002497, allocations: 19.91 kB / 429.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.002544, allocations: 23.98 kB / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.002582, allocations: 19.97 kB / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.002594, allocations: 0 / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.002682, allocations: 23.98 kB / 429.7 MB, free: 2.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.002692, allocations: 7.938 kB / 429.7 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.002705, allocations: 4 kB / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.002803, allocations: 39.84 kB / 429.8 MB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.002816, allocations: 0 / 429.8 MB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.002817, allocations: 0 / 429.8 MB, free: 2.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.002831, allocations: 0 / 429.8 MB, free: 2.617 MB / 410.7 MB 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.0003369/0.003168, allocations: 256.6 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.003197, allocations: 8.031 kB / 430 MB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.003225, allocations: 12.92 kB / 430.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.0033, allocations: 117.6 kB / 430.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.00332, allocations: 384 / 430.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-06/0.003329, allocations: 4.375 kB / 430.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.003438, allocations: 70.91 kB / 430.2 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003445, allocations: 4.125 kB / 430.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.003452, allocations: 384 / 430.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003456, allocations: 384 / 430.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.003487, allocations: 19.92 kB / 430.3 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.003698, allocations: 160.3 kB / 430.4 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.003836, allocations: 38.56 kB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.003854, allocations: 12.84 kB / 430.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.003934, allocations: 19.98 kB / 430.5 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.003954, allocations: 30.56 kB / 430.5 MB, free: 1.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.003955, allocations: 0 / 430.5 MB, free: 1.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.929e-05/0.004055, allocations: 53.56 kB / 430.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.004078, allocations: 51.41 kB / 430.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.004125, allocations: 114.7 kB / 430.7 MB, free: 1.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.004134, allocations: 25.7 kB / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.004161, allocations: 84.09 kB / 430.8 MB, free: 1.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.004173, allocations: 7.953 kB / 430.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.0042, allocations: 25.69 kB / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.004264, allocations: 310.8 kB / 431.2 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.004273, allocations: 4 kB / 431.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.004281, allocations: 0 / 431.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.004305, allocations: 16.84 kB / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004307, allocations: 0 / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.071e-05/0.004348, allocations: 45.62 kB / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004359, allocations: 8 kB / 431.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004363, allocations: 3.938 kB / 431.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.004371, allocations: 0 / 431.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.004419, allocations: 11.98 kB / 431.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004421, allocations: 0 / 431.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.004439, allocations: 7.938 kB / 431.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004443, allocations: 0 / 431.3 MB, free: 0.9609 MB / 410.7 MB 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.759e-05/0.00449, allocations: 117.8 kB / 431.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.004503, allocations: 3.984 kB / 431.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.004565, allocations: 53.58 kB / 431.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.004566, allocations: 0 / 431.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.004568, allocations: 0 / 431.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.004571, allocations: 4.047 kB / 431.5 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.693e-05/0.004648, allocations: 77.86 kB / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004649, allocations: 256 / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.004677, allocations: 15.98 kB / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.004683, allocations: 7.953 kB / 431.6 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004684, allocations: 0 / 431.6 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.004687, allocations: 0 / 431.6 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004688, allocations: 3.938 kB / 431.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.004689, allocations: 4 kB / 431.6 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/0.004752, allocations: 135.5 kB / 431.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.004759, allocations: 0 / 431.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.004791, allocations: 4 kB / 431.7 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.004825, allocations: 15.86 kB / 431.7 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.004828, allocations: 4 kB / 431.7 MB, free: 488 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.958e-06/0.004838, allocations: 12.84 kB / 431.7 MB, free: 472 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004838, allocations: 0 / 431.7 MB, free: 472 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001191/0.004957, allocations: 8 kB / 431.7 MB, free: 464 kB / 410.7 MB 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.195e-05/0.005049, allocations: 92.41 kB / 431.8 MB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.422e-05/0.005104, allocations: 16.84 kB / 431.8 MB, free: 344 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.005106, allocations: 0 / 431.8 MB, free: 344 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.005123, allocations: 12.86 kB / 431.9 MB, free: 328 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.005242, allocations: 7.938 kB / 431.9 MB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.00554, allocations: 127.6 kB / 432 MB, free: 168 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.005568, allocations: 55.36 kB / 432 MB, free: 92 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.00559, allocations: 11.98 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.005629, allocations: 55.38 kB / 432.1 MB, free: 24 kB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00563, allocations: 0 / 432.1 MB, free: 24 kB / 410.7 MB Notification: Performance of Templates: time 0.155/0.1606, allocations: 0.8015 MB / 432.9 MB, free: 2.828 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.358654823154211]