Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009047/0.009047, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005649, allocations: 16.88 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3471, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002101/0.3492, allocations: 1.261 MB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004957/0.3498, allocations: 131.6 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3498, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.3499, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.3499, allocations: 7.922 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3502, allocations: 19.98 kB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.3503, allocations: 35.91 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3504, allocations: 12 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.3505, allocations: 15.92 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.3505, allocations: 15.92 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3506, allocations: 4 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.3506, allocations: 15.98 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.3507, allocations: 7.922 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.3507, allocations: 37.64 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3509, allocations: 43.86 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3509, allocations: 0 / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3509, allocations: 0 / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3509, allocations: 4 kB / 1.076 GB, free: 5.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005101/0.3514, allocations: 355.6 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3514, allocations: 8.031 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3515, allocations: 4.938 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3516, allocations: 168.2 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3517, allocations: 8.375 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.3517, allocations: 384 / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3519, allocations: 74.22 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.352, allocations: 192 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.352, allocations: 3.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.352, allocations: 0 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.3522, allocations: 59.95 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.3526, allocations: 280.7 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.353, allocations: 66.53 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3531, allocations: 32.89 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.3534, allocations: 397.5 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3535, allocations: 34.56 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3535, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004459/0.3539, allocations: 121.5 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.354, allocations: 51.41 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.3541, allocations: 105.8 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3541, allocations: 29.7 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3542, allocations: 88.22 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3542, allocations: 7.891 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.3542, allocations: 13.72 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3543, allocations: 322.8 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3544, allocations: 23.98 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.3545, allocations: 28.14 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3547, allocations: 56.77 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3548, allocations: 4 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002345/0.355, allocations: 89.64 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.355, allocations: 4 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.355, allocations: 0 / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3551, allocations: 0 / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.3551, allocations: 15.98 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3552, allocations: 4.312 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.3552, allocations: 11.91 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3552, allocations: 0 / 1.078 GB, free: 3.195 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: 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 8.542e-05/0.3553, allocations: 117.8 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3554, allocations: 4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.3557, allocations: 101.5 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3557, allocations: 0 / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3557, allocations: 0 / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3557, allocations: 3.938 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.3559, allocations: 169.6 kB / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3559, allocations: 0 / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.356, allocations: 23.92 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.356, allocations: 4 kB / 1.078 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.356, allocations: 0 / 1.078 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.356, allocations: 0 / 1.078 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.356, allocations: 0 / 1.078 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3563, allocations: 199.3 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3563, allocations: 77.11 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3564, allocations: 0 / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.3565, allocations: 11.98 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3565, allocations: 4 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3565, allocations: 3.984 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.3566, allocations: 83.28 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3566, allocations: 4 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002325/0.3568, allocations: 16 kB / 1.079 GB, free: 2.281 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: 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.0001538/0.357, allocations: 107.2 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.3572, allocations: 48.19 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3573, allocations: 4 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3574, allocations: 31.92 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3577, allocations: 15.88 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.358, allocations: 132.7 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3583, allocations: 0.6848 MB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.104e-05/0.3583, allocations: 7.984 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3584, allocations: 7.438 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3584, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.003053/0.3614, allocations: 0.6633 MB / 1.081 GB, free: 0.5273 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)