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.001339/0.001339, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009322/0.0009322, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9533/0.9533, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001612/0.001612, allocations: 244.3 kB / 261.3 MB, free: 12.65 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.7521/0.7521, allocations: 138.4 MB / 456.3 MB, free: 30.03 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 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.823e-06/1.823e-06, allocations: 0 / 0.5563 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.739e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003323/0.003351, allocations: 1.602 MB / 0.5579 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.003749, allocations: 128.4 kB / 0.558 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.003797, allocations: 4 kB / 0.558 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.003828, allocations: 7.938 kB / 0.558 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.003883, allocations: 7.875 kB / 0.5581 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.004202, allocations: 23.97 kB / 0.5581 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.004281, allocations: 31.92 kB / 0.5581 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.004378, allocations: 15.97 kB / 0.5581 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.00443, allocations: 23.92 kB / 0.5581 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.004473, allocations: 11.98 kB / 0.5582 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.00449, allocations: 4 kB / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.004585, allocations: 31.89 kB / 0.5582 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.004599, allocations: 3.938 kB / 0.5582 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.004621, allocations: 15.94 kB / 0.5582 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.004749, allocations: 39.94 kB / 0.5582 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004752, allocations: 0 / 0.5582 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004753, allocations: 0 / 0.5582 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004757, allocations: 0 / 0.5582 GB, free: 13.88 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.0004096/0.005166, allocations: 384.4 kB / 0.5586 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.005206, allocations: 9.938 kB / 0.5586 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.005244, allocations: 4.938 kB / 0.5586 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.005353, allocations: 120.6 kB / 0.5587 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.005373, allocations: 384 / 0.5587 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.005383, allocations: 8.375 kB / 0.5588 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.005549, allocations: 70.86 kB / 0.5588 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.005557, allocations: 192 / 0.5588 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.005566, allocations: 384 / 0.5588 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.005573, allocations: 384 / 0.5588 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.005616, allocations: 11.94 kB / 0.5588 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.005956, allocations: 256.3 kB / 0.5591 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.006168, allocations: 51.05 kB / 0.5591 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.006193, allocations: 11.75 kB / 0.5591 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.954e-05/0.006293, allocations: 19.98 kB / 0.5592 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.006321, allocations: 37.39 kB / 0.5592 GB, free: 12.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/0.006323, allocations: 4 kB / 0.5592 GB, free: 12.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.006489, allocations: 49.56 kB / 0.5592 GB, free: 12.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.006521, allocations: 51.41 kB / 0.5593 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.006608, allocations: 161.9 kB / 0.5594 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.006622, allocations: 29.7 kB / 0.5595 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.006682, allocations: 134.8 kB / 0.5596 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.006704, allocations: 11.88 kB / 0.5596 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.006749, allocations: 19.38 kB / 0.5596 GB, free: 12.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.006895, allocations: 0.4923 MB / 0.5601 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.006916, allocations: 3.984 kB / 0.5601 GB, free: 11.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.006932, allocations: 4 kB / 0.5601 GB, free: 11.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.006975, allocations: 23.62 kB / 0.5601 GB, free: 11.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006977, allocations: 0 / 0.5601 GB, free: 11.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.751e-05/0.007074, allocations: 45.62 kB / 0.5602 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.00709, allocations: 7.938 kB / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007095, allocations: 0 / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.007104, allocations: 0 / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.007172, allocations: 11.98 kB / 0.5602 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007175, allocations: 0 / 0.5602 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.007208, allocations: 12 kB / 0.5602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007213, allocations: 0 / 0.5602 GB, free: 11.66 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 7.938e-05/0.007292, allocations: 152.6 kB / 0.5604 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.007324, allocations: 4 kB / 0.5604 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.007436, allocations: 57.25 kB / 0.5604 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007439, allocations: 7.938 kB / 0.5604 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.007441, allocations: 0 / 0.5604 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007444, allocations: 0 / 0.5604 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.007596, allocations: 105.2 kB / 0.5605 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007598, allocations: 4 kB / 0.5605 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.007646, allocations: 12.23 kB / 0.5605 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007648, allocations: 0 / 0.5605 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007655, allocations: 4 kB / 0.5605 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007656, allocations: 0 / 0.5605 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.007661, allocations: 4.312 kB / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.007806, allocations: 191.9 kB / 0.5607 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.007813, allocations: 0 / 0.5607 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007825, allocations: 4 kB / 0.5607 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.007887, allocations: 7.984 kB / 0.5607 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.007931, allocations: 7.938 kB / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007937, allocations: 7.984 kB / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.007981, allocations: 131.1 kB / 0.5609 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007981, allocations: 0 / 0.5609 GB, free: 10.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.008275, allocations: 11.95 kB / 0.5609 GB, free: 10.89 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.0001496/0.008425, allocations: 103.2 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.008513, allocations: 19.67 kB / 0.561 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.008514, allocations: 0 / 0.561 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.008546, allocations: 23.61 kB / 0.561 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.008826, allocations: 12 kB / 0.5611 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009106, allocations: 137.1 kB / 0.5612 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.009147, allocations: 55.34 kB / 0.5612 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.436e-05/0.009181, allocations: 11.94 kB / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.009243, allocations: 70.2 kB / 0.5613 GB, free: 10.41 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009244, allocations: 0 / 0.5613 GB, free: 10.41 MB / 490.7 MB Notification: Performance of Templates: time 0.003322/0.01257, allocations: 0.8824 MB / 0.5622 GB, free: 9.539 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.6277879658155143]