Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00125/0.00125, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196.2 kB / 16.53 MB, free: 6.684 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.2 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3398, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002893/0.3427, allocations: 1.531 MB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000392/0.3431, allocations: 139.5 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.3432, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.3432, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.3433, allocations: 3.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.3436, allocations: 31.91 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.3436, allocations: 35.91 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3438, allocations: 19.98 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.3438, allocations: 11.94 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.3439, allocations: 19.92 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3439, allocations: 3.938 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/0.344, allocations: 23.97 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.344, allocations: 7.984 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.344, allocations: 23.88 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3441, allocations: 39.88 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3442, allocations: 7.984 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3442, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3442, allocations: 0 / 1.07 GB, free: 8.613 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.00049/0.3447, allocations: 355.7 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3447, allocations: 8.031 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3447, allocations: 4.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3449, allocations: 172.2 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3449, allocations: 384 / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.3449, allocations: 8.375 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3451, allocations: 62.22 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3451, allocations: 192 / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3451, allocations: 7.938 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3452, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.3454, allocations: 43.95 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3458, allocations: 288.6 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.3461, allocations: 58.48 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3462, allocations: 28.89 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.3465, allocations: 397.5 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3466, allocations: 38.56 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3466, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000431/0.347, allocations: 97.56 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.347, allocations: 51.41 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.3472, allocations: 113.9 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3472, allocations: 25.7 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.3472, allocations: 84.14 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3472, allocations: 15.89 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3473, allocations: 13.72 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3474, allocations: 318.8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.3475, allocations: 23.97 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.3476, allocations: 15.98 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3478, allocations: 49.09 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3478, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002248/0.348, allocations: 85.48 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3481, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3481, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3481, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.3482, allocations: 7.984 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3482, allocations: 7.938 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.3483, allocations: 11.98 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3483, allocations: 0 / 1.072 GB, free: 5.938 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.52e-05/0.3484, allocations: 117.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3484, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.3487, allocations: 85.48 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3487, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3487, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.3487, allocations: 7.984 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3489, allocations: 169.6 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3489, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.349, allocations: 11.98 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.349, allocations: 3.938 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.349, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.349, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.349, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3493, allocations: 179.3 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3493, allocations: 85.09 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3494, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3495, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.3495, allocations: 7.984 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3495, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.3496, allocations: 87.27 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3496, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002266/0.3498, allocations: 12 kB / 1.073 GB, free: 5.066 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.0001746/0.35, allocations: 103.8 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3503, allocations: 39.95 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3503, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3504, allocations: 31.91 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3507, allocations: 19.88 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.3511, allocations: 125.2 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3514, allocations: 0.6768 MB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.3514, allocations: 7.984 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.3515, allocations: 19.44 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3515, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.003118/0.3546, allocations: 0.7606 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)