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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7075/0.7075, allocations: 117.9 MB / 133.9 MB, free: 9.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 180.5 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 394.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008357/0.0008358, allocations: 94.09 kB / 470.1 MB, free: 29.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 20 kB / 0.5423 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 74.54 MB / 0.6151 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.7076, allocations: 101.9 MB / 0.7146 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.7079, allocations: 77.8 kB / 0.7147 GB, free: 31.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002806/0.7107, allocations: 1.062 MB / 0.7157 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7108, allocations: 0 / 0.7157 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.7108, allocations: 0 / 0.7157 GB, free: 30.64 MB / 0.4948 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.0003303/0.7111, allocations: 357.6 kB / 0.7161 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7112, allocations: 12.03 kB / 0.7161 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.7112, allocations: 5.562 kB / 0.7161 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.7113, allocations: 172.3 kB / 0.7163 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.7113, allocations: 7.562 kB / 0.7163 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.7113, allocations: 384 / 0.7163 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.7115, allocations: 69.86 kB / 0.7163 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7115, allocations: 192 / 0.7163 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7116, allocations: 7.938 kB / 0.7163 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7116, allocations: 0 / 0.7163 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.7117, allocations: 56.95 kB / 0.7164 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.7121, allocations: 280.6 kB / 0.7167 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.7124, allocations: 68.41 kB / 0.7167 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.7125, allocations: 34.39 kB / 0.7168 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.7127, allocations: 405.4 kB / 0.7171 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.7127, allocations: 31.27 kB / 0.7172 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7127, allocations: 0 / 0.7172 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003918/0.7131, allocations: 113.3 kB / 0.7173 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.7132, allocations: 54.78 kB / 0.7173 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.7132, allocations: 110.3 kB / 0.7174 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.7132, allocations: 26.5 kB / 0.7175 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.7133, allocations: 89.06 kB / 0.7175 GB, free: 28.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.7133, allocations: 8.719 kB / 0.7176 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.7133, allocations: 0 / 0.7176 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.7134, allocations: 323.8 kB / 0.7179 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.7135, allocations: 21.48 kB / 0.7179 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.7135, allocations: 25.58 kB / 0.7179 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.7137, allocations: 61.56 kB / 0.718 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7137, allocations: 0 / 0.718 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001931/0.7139, allocations: 94.2 kB / 0.7181 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7139, allocations: 8 kB / 0.7181 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.714, allocations: 0.6875 kB / 0.7181 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.714, allocations: 0 / 0.7181 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.7141, allocations: 12.36 kB / 0.7181 GB, free: 28.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.7141, allocations: 4 kB / 0.7181 GB, free: 28.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.7141, allocations: 6.625 kB / 0.7181 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.7142, allocations: 3.062 kB / 0.7181 GB, free: 28.16 MB / 0.4948 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,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.7142, allocations: 118.3 kB / 0.7182 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.7142, allocations: 5.391 kB / 0.7182 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.7145, allocations: 100.3 kB / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7145, allocations: 0 / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7145, allocations: 4 kB / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.7145, allocations: 0.6562 kB / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.7147, allocations: 172.3 kB / 0.7185 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7147, allocations: 0.5625 kB / 0.7185 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.7148, allocations: 11.47 kB / 0.7185 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7148, allocations: 4.75 kB / 0.7185 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.7148, allocations: 0 / 0.7185 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7148, allocations: 1.203 kB / 0.7185 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7148, allocations: 0 / 0.7185 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.7151, allocations: 196.4 kB / 0.7187 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.7151, allocations: 82.38 kB / 0.7188 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.7151, allocations: 3.125 kB / 0.7188 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.7152, allocations: 10.62 kB / 0.7188 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.7153, allocations: 10.41 kB / 0.7188 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.7153, allocations: 0.6562 kB / 0.7188 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.7153, allocations: 89.14 kB / 0.7189 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7153, allocations: 0 / 0.7189 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002185/0.7155, allocations: 17.17 kB / 0.7189 GB, free: 27.34 MB / 0.4948 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 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.7157, allocations: 112.8 kB / 0.719 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.7159, allocations: 63.48 kB / 0.719 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7159, allocations: 0 / 0.719 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.716, allocations: 33.12 kB / 0.7191 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.7163, allocations: 12.45 kB / 0.7191 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.7166, allocations: 124.2 kB / 0.7192 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.7168, allocations: 0.6773 MB / 0.7199 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.7168, allocations: 8.844 kB / 0.7199 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.7168, allocations: 16.16 kB / 0.7199 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2e-07/0.7168, allocations: 0 / 0.7199 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.002845/0.7197, allocations: 0.6513 MB / 0.7205 GB, free: 25.93 MB / 0.4948 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)