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.0008969/0.0008969, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009783/0.0009783, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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.9616/0.9616, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 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.001644/0.001644, allocations: 238 kB / 260.5 MB, free: 12.89 MB / 250.7 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.755/0.755, allocations: 138.4 MB / 455.4 MB, free: 1.496 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5551 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.621e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.00177/0.001786, allocations: 1.594 MB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.002062, allocations: 132.3 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.002099, allocations: 4 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.002124, allocations: 3.938 kB / 0.5567 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.002165, allocations: 7.922 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.002435, allocations: 23.97 kB / 0.5568 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.002498, allocations: 35.92 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.002585, allocations: 19.91 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.002623, allocations: 23.92 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.002657, allocations: 11.98 kB / 0.5569 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002673, allocations: 7.938 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.002743, allocations: 19.97 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002755, allocations: 11.92 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.002774, allocations: 8 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.00289, allocations: 43.88 kB / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002892, allocations: 0 / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002893, allocations: 0 / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.002897, allocations: 4 kB / 0.557 GB, free: 14.85 MB / 490.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.0003658/0.003263, allocations: 376.5 kB / 0.5573 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.003298, allocations: 8.75 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.003336, allocations: 8.891 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.003418, allocations: 112.6 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.003437, allocations: 384 / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.003447, allocations: 8.375 kB / 0.5574 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.003569, allocations: 70.86 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.003576, allocations: 192 / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003586, allocations: 4.359 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.003593, allocations: 8.375 kB / 0.5575 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.003632, allocations: 15.92 kB / 0.5575 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.003906, allocations: 263.7 kB / 0.5578 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.004057, allocations: 50.98 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.004081, allocations: 15.75 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.004176, allocations: 15.98 kB / 0.5579 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004198, allocations: 41.33 kB / 0.5579 GB, free: 13.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004199, allocations: 0 / 0.5579 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001409/0.00434, allocations: 49.62 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.004366, allocations: 63.39 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.004434, allocations: 157.9 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.004443, allocations: 25.7 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.004492, allocations: 146.8 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.004508, allocations: 7.891 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004534, allocations: 23.38 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.004633, allocations: 496.1 kB / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.004648, allocations: 3.984 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.004661, allocations: 4 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.004693, allocations: 19.69 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004694, allocations: 4 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.778e-05/0.004752, allocations: 53.56 kB / 0.5589 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.004762, allocations: 4 kB / 0.5589 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.004768, allocations: 4 kB / 0.5589 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00478, allocations: 3.984 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.038e-05/0.00482, allocations: 4 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.004825, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.004844, allocations: 4 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.004848, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.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 5.821e-05/0.004906, allocations: 164.6 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.004921, allocations: 11.89 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.005003, allocations: 53.31 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005004, allocations: 0 / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.005007, allocations: 0 / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.00501, allocations: 4.359 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.433e-05/0.005105, allocations: 120.6 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005106, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.005131, allocations: 8 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005133, allocations: 0 / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.005139, allocations: 3.938 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00514, allocations: 4 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005141, allocations: 3.984 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.001e-05/0.005231, allocations: 195.9 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.005237, allocations: 3.953 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.005248, allocations: 4.188 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.005279, allocations: 8 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.005324, allocations: 15.92 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005326, allocations: 3.938 kB / 0.5595 GB, free: 11.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.005361, allocations: 127.2 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005361, allocations: 0 / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.005505, allocations: 12 kB / 0.5596 GB, free: 11.8 MB / 490.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 0.0001067/0.005611, allocations: 107.2 kB / 0.5597 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.404e-05/0.005705, allocations: 23.67 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.005707, allocations: 0 / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.005733, allocations: 15.69 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.005911, allocations: 7.984 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.006146, allocations: 137.3 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.006176, allocations: 59.36 kB / 0.56 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.1e-05/0.006197, allocations: 7.984 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.00622, allocations: 12.5 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00622, allocations: 0 / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Templates: time 0.002159/0.008379, allocations: 0.791 MB / 0.5608 GB, free: 10.59 MB / 490.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.5909062870778143]