Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.000844/0.0008443, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006113/0.006114, allocations: 172.9 kB / 16.26 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.015/1.015, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006826/0.0006827, allocations: 8 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2502, allocations: 83.41 MB / 0.5978 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002063/0.2523, allocations: 1.254 MB / 0.5991 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004396/0.2528, allocations: 132.5 kB / 0.5992 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2528, allocations: 0 / 0.5992 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.2529, allocations: 3.984 kB / 0.5992 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.2529, allocations: 4 kB / 0.5992 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2532, allocations: 19.92 kB / 0.5992 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.291e-05/0.2533, allocations: 39.86 kB / 0.5993 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.2534, allocations: 15.98 kB / 0.5993 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.2534, allocations: 11.92 kB / 0.5993 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.2535, allocations: 19.92 kB / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2535, allocations: 0 / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-05/0.2536, allocations: 19.98 kB / 0.5993 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.2536, allocations: 0 / 0.5993 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.2536, allocations: 45.61 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2537, allocations: 39.88 kB / 0.5994 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2538, allocations: 4 kB / 0.5994 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2538, allocations: 0 / 0.5994 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2538, allocations: 0 / 0.5994 GB, free: 6.035 MB / 0.4981 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.0005397/0.2543, allocations: 354.8 kB / 0.5997 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2544, allocations: 8.031 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.2544, allocations: 8.938 kB / 0.5998 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2545, allocations: 164.3 kB / 0.5999 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2546, allocations: 8.375 kB / 0.5999 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2546, allocations: 384 / 0.5999 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2548, allocations: 78.14 kB / 0.6 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2548, allocations: 192 / 0.6 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2548, allocations: 7.875 kB / 0.6 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2548, allocations: 0 / 0.6 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.255, allocations: 59.95 kB / 0.6001 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.2555, allocations: 276.8 kB / 0.6003 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.2558, allocations: 70.48 kB / 0.6004 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2559, allocations: 32.89 kB / 0.6004 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.2562, allocations: 397.5 kB / 0.6008 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2564, allocations: 30.56 kB / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2564, allocations: 4 kB / 0.6008 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004182/0.2568, allocations: 113.5 kB / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2569, allocations: 59.34 kB / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.257, allocations: 109.8 kB / 0.6011 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2571, allocations: 29.7 kB / 0.6011 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2571, allocations: 80.14 kB / 0.6012 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2571, allocations: 7.906 kB / 0.6012 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.2572, allocations: 13.72 kB / 0.6012 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2573, allocations: 318.8 kB / 0.6015 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2575, allocations: 27.98 kB / 0.6016 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.2576, allocations: 27.97 kB / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2577, allocations: 61.09 kB / 0.6017 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2578, allocations: 0 / 0.6017 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002391/0.258, allocations: 89.48 kB / 0.6017 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.258, allocations: 7.938 kB / 0.6017 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.258, allocations: 0 / 0.6017 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2581, allocations: 4 kB / 0.6017 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.2582, allocations: 15.98 kB / 0.6018 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2582, allocations: 0 / 0.6018 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.2582, allocations: 12 kB / 0.6018 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2583, allocations: 3.984 kB / 0.6018 GB, free: 3.289 MB / 0.4981 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.933e-05/0.2583, allocations: 113.8 kB / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.2584, allocations: 0 / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.2587, allocations: 97.55 kB / 0.602 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2587, allocations: 0 / 0.602 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2587, allocations: 4 kB / 0.602 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2587, allocations: 0 / 0.602 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.259, allocations: 169.7 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.259, allocations: 7.938 kB / 0.6022 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.2591, allocations: 19.98 kB / 0.6022 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2591, allocations: 0 / 0.6022 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2591, allocations: 0 / 0.6022 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2591, allocations: 4 kB / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2591, allocations: 0 / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.2594, allocations: 191.3 kB / 0.6024 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.2595, allocations: 77.11 kB / 0.6024 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2595, allocations: 4 kB / 0.6024 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.2596, allocations: 7.984 kB / 0.6024 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.2597, allocations: 11.98 kB / 0.6025 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2597, allocations: 4 kB / 0.6025 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.2597, allocations: 87.28 kB / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2598, allocations: 0 / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002309/0.26, allocations: 8 kB / 0.6026 GB, free: 2.391 MB / 0.4981 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.0001805/0.2602, allocations: 107.2 kB / 0.6027 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.2604, allocations: 59.95 kB / 0.6027 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2605, allocations: 0 / 0.6027 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.2606, allocations: 27.98 kB / 0.6027 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.2609, allocations: 11.86 kB / 0.6027 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.2612, allocations: 137 kB / 0.6029 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2616, allocations: 0.6847 MB / 0.6035 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.2617, allocations: 4 kB / 0.6036 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.2617, allocations: 11.44 kB / 0.6036 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2617, allocations: 0 / 0.6036 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of Templates: time 0.003089/0.2648, allocations: 0.659 MB / 0.6042 GB, free: 0.6406 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)