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.001358/0.001358, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001609/0.001609, allocations: 169 kB / 24.06 MB, free: 456 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.9942/0.9942, 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.001769/0.001769, allocations: 245.5 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.771/0.771, allocations: 138.4 MB / 456.3 MB, free: 30.09 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.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: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5564 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.878e-05, allocations: 2.859 kB / 0.5564 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001762/0.001791, allocations: 0.5904 MB / 0.557 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000264/0.002055, allocations: 55.8 kB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.002078, allocations: 0 / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.002123, allocations: 0 / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.214e-06/0.00213, allocations: 0 / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.002436, allocations: 27.84 kB / 0.5571 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.002529, allocations: 31.91 kB / 0.5571 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.002568, allocations: 4 kB / 0.5571 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.002607, allocations: 15.97 kB / 0.5571 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.002639, allocations: 15.97 kB / 0.5571 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.002655, allocations: 0 / 0.5571 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.002768, allocations: 15.98 kB / 0.5571 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.002795, allocations: 15.98 kB / 0.5572 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.00282, allocations: 7.984 kB / 0.5572 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.002931, allocations: 43.83 kB / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002933, allocations: 0 / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002934, allocations: 0 / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.002938, allocations: 0 / 0.5572 GB, free: 14.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003249/0.003263, allocations: 364.3 kB / 0.5576 GB, free: 14.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.003304, allocations: 13.94 kB / 0.5576 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.003343, allocations: 9.234 kB / 0.5576 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.003418, allocations: 108.6 kB / 0.5577 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.003434, allocations: 8.375 kB / 0.5577 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.003446, allocations: 12.38 kB / 0.5577 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.003548, allocations: 52.09 kB / 0.5578 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003556, allocations: 192 / 0.5578 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.003564, allocations: 384 / 0.5578 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003571, allocations: 4.312 kB / 0.5578 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.003692, allocations: 83.8 kB / 0.5578 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.004102, allocations: 105.2 kB / 0.5579 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.004213, allocations: 66.88 kB / 0.558 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.004246, allocations: 19.67 kB / 0.558 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.004405, allocations: 23.98 kB / 0.558 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.004434, allocations: 41.39 kB / 0.5581 GB, free: 13.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.004435, allocations: 0 / 0.5581 GB, free: 13.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000212/0.004647, allocations: 95.36 kB / 0.5582 GB, free: 13.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.004683, allocations: 55.39 kB / 0.5582 GB, free: 13.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.004745, allocations: 146.2 kB / 0.5584 GB, free: 13.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.004758, allocations: 29.7 kB / 0.5584 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.004799, allocations: 126.9 kB / 0.5585 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.004837, allocations: 31.78 kB / 0.5585 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.004892, allocations: 39.34 kB / 0.5586 GB, free: 13.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.005042, allocations: 0.4883 MB / 0.5591 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.005067, allocations: 11.98 kB / 0.5591 GB, free: 12.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.005089, allocations: 15.98 kB / 0.5591 GB, free: 12.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.005161, allocations: 35.08 kB / 0.5591 GB, free: 12.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005163, allocations: 0 / 0.5591 GB, free: 12.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001357/0.005298, allocations: 85.5 kB / 0.5592 GB, free: 12.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.005313, allocations: 6.656 kB / 0.5592 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.005319, allocations: 0 / 0.5592 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005329, allocations: 4 kB / 0.5592 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.005424, allocations: 15.98 kB / 0.5592 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.005428, allocations: 4 kB / 0.5592 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.005448, allocations: 3.938 kB / 0.5592 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.005457, allocations: 3.938 kB / 0.5592 GB, free: 12.72 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: 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.0001008/0.005558, allocations: 176.5 kB / 0.5594 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.005575, allocations: 8 kB / 0.5594 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.005755, allocations: 101.5 kB / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.005758, allocations: 0 / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00576, allocations: 0 / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.005763, allocations: 4 kB / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.005863, allocations: 113.2 kB / 0.5596 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005865, allocations: 0 / 0.5596 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.005934, allocations: 24 kB / 0.5596 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005936, allocations: 0 / 0.5596 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.005943, allocations: 3.984 kB / 0.5596 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.005947, allocations: 3.938 kB / 0.5597 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005948, allocations: 0 / 0.5597 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.006092, allocations: 120.2 kB / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.006102, allocations: 7.938 kB / 0.5598 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.006114, allocations: 4 kB / 0.5598 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.555e-05/0.006129, allocations: 4 kB / 0.5598 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006159, allocations: 7.984 kB / 0.5598 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006166, allocations: 4 kB / 0.5598 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.006202, allocations: 123.2 kB / 0.5599 GB, free: 11.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.006202, allocations: 0 / 0.5599 GB, free: 11.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.006439, allocations: 16 kB / 0.5599 GB, free: 11.95 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: 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.0001761/0.006615, allocations: 122.2 kB / 0.56 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.006731, allocations: 47.66 kB / 0.5601 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.006733, allocations: 0 / 0.5601 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.006779, allocations: 36.2 kB / 0.5601 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.006931, allocations: 9.422 kB / 0.5601 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.007205, allocations: 140.8 kB / 0.5603 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.007253, allocations: 63.34 kB / 0.5603 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.007301, allocations: 19.75 kB / 0.5603 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.007367, allocations: 82.19 kB / 0.5604 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/0.007368, allocations: 0 / 0.5604 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Templates: time 0.003307/0.01068, allocations: 0.6938 MB / 0.5611 GB, free: 10.7 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.697505955118686]