Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009172/0.0009173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009455/0.0009455, allocations: 196.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.6 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 104.7 MB / 0.7238 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002372/0.3549, allocations: 1.598 MB / 0.7254 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.3552, allocations: 132.5 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3553, allocations: 0 / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.3553, allocations: 3.938 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.165e-05/0.3554, allocations: 0 / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.3555, allocations: 31.91 kB / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.3556, allocations: 23.98 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/0.3557, allocations: 15.98 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.3557, allocations: 11.94 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.3558, allocations: 23.89 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3558, allocations: 7.938 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.3558, allocations: 16 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.3559, allocations: 11.92 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3559, allocations: 15.94 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.356, allocations: 47.8 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.356, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.42e-07/0.356, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.356, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 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.0003879/0.3564, allocations: 361.3 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.3564, allocations: 8.031 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3565, allocations: 4.938 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.3566, allocations: 168.4 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.3566, allocations: 8.375 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.3566, allocations: 384 / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3568, allocations: 58.23 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3568, allocations: 4.188 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3568, allocations: 7.922 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3568, allocations: 0 / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.357, allocations: 51.83 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.3573, allocations: 284.7 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3576, allocations: 58.53 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.3577, allocations: 28.84 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3579, allocations: 397.5 kB / 0.7271 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3579, allocations: 42.55 kB / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3579, allocations: 0 / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003283/0.3583, allocations: 93.55 kB / 0.7272 GB, free: 9.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.3583, allocations: 51.41 kB / 0.7272 GB, free: 9.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.3584, allocations: 109.8 kB / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3584, allocations: 29.7 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.3584, allocations: 88.12 kB / 0.7275 GB, free: 9.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.3584, allocations: 11.84 kB / 0.7275 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3585, allocations: 13.72 kB / 0.7275 GB, free: 9.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3586, allocations: 322.7 kB / 0.7278 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.3587, allocations: 19.97 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3588, allocations: 19.98 kB / 0.7278 GB, free: 8.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.359, allocations: 49.09 kB / 0.7279 GB, free: 8.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.359, allocations: 0 / 0.7279 GB, free: 8.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.3592, allocations: 77.64 kB / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.3592, allocations: 5.719 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.3592, allocations: 4.312 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3592, allocations: 3.984 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.3593, allocations: 8 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3593, allocations: 7.938 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.3593, allocations: 7.984 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3594, allocations: 3.984 kB / 0.728 GB, free: 8.648 MB / 0.545 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 6.27e-05/0.3594, allocations: 117.8 kB / 0.7281 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3595, allocations: 7.844 kB / 0.7281 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3597, allocations: 85.53 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3597, allocations: 4 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3597, allocations: 0 / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.3597, allocations: 0 / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3599, allocations: 169.6 kB / 0.7284 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3599, allocations: 3.938 kB / 0.7284 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.3599, allocations: 11.98 kB / 0.7284 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.36, allocations: 0 / 0.7284 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.36, allocations: 0 / 0.7284 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.36, allocations: 3.938 kB / 0.7284 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.36, allocations: 4 kB / 0.7284 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3602, allocations: 179.4 kB / 0.7285 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.3602, allocations: 81.02 kB / 0.7286 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3603, allocations: 4 kB / 0.7286 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.3603, allocations: 7.984 kB / 0.7286 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3604, allocations: 4 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3604, allocations: 0 / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.3604, allocations: 95.27 kB / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3604, allocations: 0 / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002065/0.3607, allocations: 8 kB / 0.7287 GB, free: 7.773 MB / 0.545 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.000107/0.3608, allocations: 99.25 kB / 0.7288 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.361, allocations: 47.89 kB / 0.7289 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.361, allocations: 0 / 0.7289 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.3611, allocations: 31.97 kB / 0.7289 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3613, allocations: 7.938 kB / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.3616, allocations: 135.1 kB / 0.729 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.3618, allocations: 0.6809 MB / 0.7297 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.3618, allocations: 4 kB / 0.7297 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3618, allocations: 11.44 kB / 0.7297 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.3618, allocations: 0 / 0.7297 GB, free: 6.699 MB / 0.545 GB Notification: Performance of Templates: time 0.002186/0.364, allocations: 0.6781 MB / 0.7304 GB, free: 6.027 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)