Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 193 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 69.41 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3484, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001823/0.3503, allocations: 0.6425 MB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003151/0.3506, allocations: 63.78 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/0.3506, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.3507, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.3507, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.3509, allocations: 11.98 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.351, allocations: 35.95 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3511, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.3511, allocations: 8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.3511, allocations: 11.97 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3511, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.3512, allocations: 12 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3512, allocations: 15.92 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.3513, allocations: 7.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.3514, allocations: 35.89 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3514, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3514, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3514, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 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.0003275/0.3517, allocations: 341.3 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3518, allocations: 8.031 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3518, allocations: 4.844 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3519, allocations: 172.5 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.352, allocations: 384 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.352, allocations: 12.36 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3521, allocations: 70.09 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3521, allocations: 192 / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3521, allocations: 11.94 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3522, allocations: 0 / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3523, allocations: 99.88 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.3526, allocations: 177.6 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3527, allocations: 72.72 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.3528, allocations: 36.78 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.3531, allocations: 401.5 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3531, allocations: 38.56 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.000257/0.3534, allocations: 125.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3535, allocations: 51.41 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.3535, allocations: 97.84 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3535, allocations: 29.7 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3537, allocations: 80.14 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3537, allocations: 23.66 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.3538, allocations: 33.7 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3539, allocations: 314.8 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.3539, allocations: 19.98 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.354, allocations: 19.98 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.892e-05/0.3541, allocations: 64.77 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3541, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001341/0.3542, allocations: 89.61 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3542, allocations: 4 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3542, allocations: 3.938 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3543, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3544, allocations: 19.98 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3544, allocations: 0 / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.3544, allocations: 11.91 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3544, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 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.000137/0.3546, allocations: 121.8 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3546, allocations: 4 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3548, allocations: 134.1 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3548, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3548, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3548, allocations: 7.984 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.355, allocations: 173.6 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.355, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3551, allocations: 19.98 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3551, allocations: 3.938 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3551, allocations: 8 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3551, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3551, allocations: 11.92 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3553, allocations: 121.1 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.3554, allocations: 84.95 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3554, allocations: 4 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.3554, allocations: 4 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3554, allocations: 7.984 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3555, allocations: 7.938 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.3555, allocations: 79.28 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002078/0.3557, allocations: 16 kB / 1.071 GB, free: 6.461 MB / 0.8262 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.0002255/0.3559, allocations: 115.1 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.3561, allocations: 59.97 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3561, allocations: 3.938 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.3562, allocations: 35.91 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3563, allocations: 15.94 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3566, allocations: 142.7 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.357, allocations: 0.6887 MB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.106e-05/0.3571, allocations: 39.59 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.3571, allocations: 23.42 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3571, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of Templates: time 0.002769/0.3599, allocations: 0.5867 MB / 1.073 GB, free: 4.695 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)