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.001415/0.001415, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00164/0.00164, allocations: 192.2 kB / 16.25 MB, free: 6.617 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 62.66 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.355, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003171/0.3582, allocations: 1.596 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.3586, allocations: 139.6 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.3586, allocations: 0 / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3587, allocations: 0 / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.3587, allocations: 3.938 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.359, allocations: 19.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.3591, allocations: 43.84 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.3592, allocations: 15.98 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.3592, allocations: 11.98 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.3592, allocations: 19.92 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3593, allocations: 4 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.3593, allocations: 16 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.3593, allocations: 15.91 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.3594, allocations: 15.94 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3595, allocations: 51.8 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3595, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3596, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3596, allocations: 0 / 1.07 GB, free: 8.859 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.0004643/0.36, allocations: 359.6 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3601, allocations: 8.031 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3601, allocations: 0.9375 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3603, allocations: 176.2 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3603, allocations: 384 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3603, allocations: 4.375 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3605, allocations: 62.22 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3606, allocations: 192 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3606, allocations: 3.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3606, allocations: 8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.3608, allocations: 43.95 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3612, allocations: 280.6 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3615, allocations: 62.53 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.523e-05/0.3617, allocations: 24.91 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.3623, allocations: 401.5 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3623, allocations: 38.56 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.3623, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.3627, allocations: 89.58 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.3629, allocations: 59.41 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.363, allocations: 109.8 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.363, allocations: 25.7 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3631, allocations: 88.12 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3631, allocations: 11.97 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3632, allocations: 13.72 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.3634, allocations: 322.8 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.3635, allocations: 19.98 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.3636, allocations: 20.17 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3637, allocations: 48.89 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3637, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.364, allocations: 81.5 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.364, allocations: 11.98 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.364, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.364, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.3641, allocations: 15.92 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3641, allocations: 0 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.3642, allocations: 4 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3642, allocations: 4 kB / 1.072 GB, free: 6.191 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.457e-05/0.3643, allocations: 113.8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3644, allocations: 11.92 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3646, allocations: 85.48 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3646, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3646, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3646, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3648, allocations: 169.6 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3648, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.3649, allocations: 11.98 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3649, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3649, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3649, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.365, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3654, allocations: 179.3 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3654, allocations: 81.11 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3655, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.3656, allocations: 15.98 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3656, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3656, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3658, allocations: 87.58 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3658, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002323/0.366, allocations: 12 kB / 1.073 GB, free: 5.32 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.0001366/0.3662, allocations: 103.2 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.3664, allocations: 51.94 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3664, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3665, allocations: 28.16 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3668, allocations: 11.88 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.3671, allocations: 137.3 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3676, allocations: 0.6807 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.3676, allocations: 12.2 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.3677, allocations: 15.44 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3677, allocations: 3.938 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.003001/0.3707, allocations: 0.6924 MB / 1.074 GB, free: 3.527 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)