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.001179/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001993/0.001992, allocations: 193.8 kB / 16.14 MB, free: 6.703 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 61.86 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003338/0.357, allocations: 1.6 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005231/0.3575, allocations: 139.5 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.3576, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.3577, allocations: 3.938 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.3577, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.358, allocations: 27.91 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.3581, allocations: 35.92 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3582, allocations: 11.98 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.3582, allocations: 11.92 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.3583, allocations: 23.92 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3583, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.3584, allocations: 11.98 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.3584, allocations: 11.94 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.3585, allocations: 19.91 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3586, allocations: 35.89 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3586, allocations: 4 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3586, allocations: 0 / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3586, allocations: 0 / 1.069 GB, free: 8.961 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.0005459/0.3592, allocations: 351.7 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3592, allocations: 16.03 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3593, allocations: 0.9375 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3594, allocations: 168.3 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3594, allocations: 384 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3595, allocations: 4.375 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3597, allocations: 66.2 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3597, allocations: 4.125 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3597, allocations: 7.938 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3597, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3599, allocations: 47.89 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3604, allocations: 288.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3607, allocations: 54.48 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.3608, allocations: 32.89 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.3612, allocations: 397.5 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3612, allocations: 34.56 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3612, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.3616, allocations: 89.62 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3616, allocations: 59.41 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.3617, allocations: 109.8 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3617, allocations: 29.64 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.3618, allocations: 84.14 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3618, allocations: 7.906 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3619, allocations: 17.7 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.362, allocations: 322.7 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.3621, allocations: 19.98 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3622, allocations: 19.97 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3624, allocations: 48.81 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3624, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002008/0.3626, allocations: 77.56 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3626, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3626, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3626, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.3627, allocations: 19.92 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3627, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.3628, allocations: 7.984 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3628, allocations: 0 / 1.072 GB, free: 6.297 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.478e-05/0.3629, allocations: 118.1 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3629, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3632, allocations: 89.53 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3632, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3632, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3632, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3634, allocations: 173.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3634, allocations: 3.938 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.3634, allocations: 15.92 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3635, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3635, allocations: 8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3635, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3635, allocations: 3.984 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3637, allocations: 175.4 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3638, allocations: 77.11 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3638, allocations: 0 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.3639, allocations: 11.98 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.364, allocations: 7.984 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.364, allocations: 0 / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.364, allocations: 87.28 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.364, allocations: 0 / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002194/0.3643, allocations: 12 kB / 1.072 GB, free: 5.422 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.000166/0.3644, allocations: 110.9 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3647, allocations: 51.89 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3647, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.3648, allocations: 23.97 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3651, allocations: 15.88 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.3654, allocations: 135 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3657, allocations: 0.6848 MB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.3658, allocations: 4.547 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.3658, allocations: 11.42 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of SimCode: time 1.553e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.002939/0.3687, allocations: 0.6719 MB / 1.074 GB, free: 3.66 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)