Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.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.001458/0.001458, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001248/0.001248, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001684/0.001684, allocations: 245.1 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.7433/0.7433, allocations: 138.4 MB / 455.4 MB, free: 1.52 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5551 GB, free: 0.793 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.764e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.001217/0.001255, allocations: 0.6041 MB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.001464, allocations: 51.73 kB / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.001484, allocations: 0 / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.0015, allocations: 3.938 kB / 0.5557 GB, free: 132 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.001506, allocations: 0 / 0.5557 GB, free: 132 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.001732, allocations: 11.94 kB / 0.5558 GB, free: 120 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.001781, allocations: 7.984 kB / 0.5558 GB, free: 112 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.00182, allocations: 0 / 0.5558 GB, free: 112 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.001849, allocations: 4 kB / 0.5558 GB, free: 108 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.001868, allocations: 3.984 kB / 0.5558 GB, free: 104 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.001881, allocations: 0 / 0.5558 GB, free: 104 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.001955, allocations: 15.98 kB / 0.5558 GB, free: 88 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.001964, allocations: 0 / 0.5558 GB, free: 88 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.001979, allocations: 0 / 0.5558 GB, free: 88 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.956e-05/0.002068, allocations: 15.98 kB / 0.5558 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002071, allocations: 0 / 0.5558 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.002073, allocations: 3.984 kB / 0.5558 GB, free: 68 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.002077, allocations: 0 / 0.5558 GB, free: 68 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002513/0.002328, allocations: 336.4 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.002365, allocations: 12.75 kB / 0.5561 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.002401, allocations: 0.9375 kB / 0.5561 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.174e-05/0.002463, allocations: 112.6 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.002474, allocations: 4.375 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.002485, allocations: 8.359 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.002569, allocations: 30.2 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002575, allocations: 192 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002584, allocations: 4.375 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.002592, allocations: 384 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.002616, allocations: 3.938 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.002754, allocations: 116.6 kB / 0.5564 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.002801, allocations: 27.09 kB / 0.5564 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.002819, allocations: 15.75 kB / 0.5564 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.00295, allocations: 7.984 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.002971, allocations: 41.31 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.002972, allocations: 0 / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.003098, allocations: 37.7 kB / 0.5565 GB, free: 15.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.003126, allocations: 51.41 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.703e-05/0.003163, allocations: 146.6 kB / 0.5567 GB, free: 14.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.003171, allocations: 25.7 kB / 0.5567 GB, free: 14.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.003198, allocations: 126.9 kB / 0.5569 GB, free: 14.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.003216, allocations: 7.953 kB / 0.5569 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.00324, allocations: 27.48 kB / 0.5569 GB, free: 14.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.003335, allocations: 496.1 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.003345, allocations: 0 / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.003352, allocations: 4 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.003389, allocations: 19.62 kB / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003391, allocations: 0 / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.493e-05/0.003436, allocations: 37.69 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.003448, allocations: 4 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003453, allocations: 4 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.003464, allocations: 4.094 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.003513, allocations: 0 / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.003519, allocations: 4 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.003529, allocations: 3.938 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.003534, allocations: 0 / 0.5574 GB, free: 14.18 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.578e-05/0.003589, allocations: 160.6 kB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.003595, allocations: 7.938 kB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.003663, allocations: 40.8 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.003666, allocations: 7.984 kB / 0.5577 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.003669, allocations: 0 / 0.5577 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003672, allocations: 4.031 kB / 0.5577 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.508e-05/0.003727, allocations: 108.6 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.003729, allocations: 4 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.00374, allocations: 4 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.003741, allocations: 0 / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.003746, allocations: 0 / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.003747, allocations: 4 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.003748, allocations: 0 / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.547e-05/0.003803, allocations: 80.31 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.003808, allocations: 3.953 kB / 0.5579 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.003816, allocations: 8.031 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-06/0.003821, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.00385, allocations: 3.984 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.003852, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.003878, allocations: 123.2 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003878, allocations: 0 / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.003997, allocations: 4 kB / 0.558 GB, free: 13.55 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000192/0.004189, allocations: 110.4 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.004262, allocations: 19.67 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.004264, allocations: 4.062 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.004276, allocations: 15.62 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.565e-05/0.004372, allocations: 0 / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.004556, allocations: 97.03 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.004584, allocations: 55.36 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.085e-05/0.004595, allocations: 0 / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.004614, allocations: 12.5 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.004615, allocations: 0 / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Templates: time 0.00194/0.006554, allocations: 348.6 kB / 0.5586 GB, free: 12.85 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.672447256045416]