Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.036/2.036, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 207.3 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 114 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009677/0.0009683, allocations: 55.14 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2467, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001709/0.2484, allocations: 0.6488 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.2487, allocations: 59.78 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.2487, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.2488, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2488, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.249, allocations: 15.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.2491, allocations: 23.97 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.2492, allocations: 8 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.2492, allocations: 11.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.658e-05/0.2492, allocations: 19.92 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2492, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.2493, allocations: 15.98 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2493, allocations: 8 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.2494, allocations: 19.91 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.2495, allocations: 35.89 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2495, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2495, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2495, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB 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.0002443/0.2497, allocations: 331.6 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2498, allocations: 11.98 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.2498, allocations: 8.844 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.26e-05/0.2499, allocations: 170.4 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2499, allocations: 12.31 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2499, allocations: 384 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.25, allocations: 62.23 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2501, allocations: 192 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2501, allocations: 11.88 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2501, allocations: 4 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2502, allocations: 103.9 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.2503, allocations: 169.6 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.2504, allocations: 74.48 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.2505, allocations: 32.84 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.2507, allocations: 401.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2507, allocations: 38.88 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.2507, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0002009/0.2509, allocations: 121.4 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.251, allocations: 59.34 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.492e-05/0.251, allocations: 93.86 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.251, allocations: 25.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.058e-05/0.251, allocations: 80.14 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.2511, allocations: 23.7 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.2511, allocations: 33.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2512, allocations: 322.8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.2512, allocations: 19.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.2512, allocations: 23.92 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.2513, allocations: 52.84 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2513, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001081/0.2514, allocations: 97.59 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2515, allocations: 5.406 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2515, allocations: 3.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2515, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.2516, allocations: 23.92 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2516, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.2516, allocations: 7.844 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2516, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB 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.0001127/0.2518, allocations: 122.5 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.2518, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.252, allocations: 133.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.252, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.252, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.252, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.2521, allocations: 173.6 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2521, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.2521, allocations: 19.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2521, allocations: 3.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2522, allocations: 7.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2522, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2522, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2524, allocations: 0.6951 MB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2524, allocations: 85.02 kB / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2525, allocations: 0 / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.2525, allocations: 0 / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2525, allocations: 19.91 kB / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2525, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.098e-05/0.2525, allocations: 79.28 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2525, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002768/0.2528, allocations: 23.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB 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.0001504/0.253, allocations: 107.2 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2531, allocations: 67.84 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2531, allocations: 3.938 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.2531, allocations: 35.98 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.2533, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.2536, allocations: 285.5 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2537, allocations: 0.6872 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.2537, allocations: 39.94 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.2538, allocations: 11.44 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2538, allocations: 7.938 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of Templates: time 0.002176/0.2559, allocations: 0.5991 MB / 1.224 GB, free: 110.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)