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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8871/0.8871, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001145/0.001145, allocations: 176.5 kB / 173.8 MB, free: 6.109 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.989/1.989, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009008/0.000901, allocations: 92.05 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003439, allocations: 8.812 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1726, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.316, allocations: 103 MB / 0.7359 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.3163, allocations: 75.95 kB / 0.736 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003086/0.3194, allocations: 1.07 MB / 0.737 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3194, allocations: 0 / 0.737 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3194, allocations: 7.938 kB / 0.737 GB, free: 6.242 MB / 0.5105 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.0004223/0.3199, allocations: 351.3 kB / 0.7374 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3199, allocations: 8.031 kB / 0.7374 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.3199, allocations: 7.953 kB / 0.7374 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3201, allocations: 171 kB / 0.7375 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3201, allocations: 4 kB / 0.7375 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3201, allocations: 0 / 0.7375 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3203, allocations: 69.66 kB / 0.7376 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3203, allocations: 0 / 0.7376 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3204, allocations: 0 / 0.7376 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3204, allocations: 0 / 0.7376 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.3206, allocations: 63.89 kB / 0.7377 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.321, allocations: 284.7 kB / 0.7379 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.3213, allocations: 62.55 kB / 0.738 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.3217, allocations: 405.7 kB / 0.7384 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.3217, allocations: 38.44 kB / 0.7384 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3217, allocations: 0 / 0.7384 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003986/0.3221, allocations: 113.5 kB / 0.7385 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3222, allocations: 51.41 kB / 0.7386 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.3222, allocations: 109 kB / 0.7387 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3223, allocations: 29.7 kB / 0.7387 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3223, allocations: 80.14 kB / 0.7388 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3224, allocations: 15.83 kB / 0.7388 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.3224, allocations: 0 / 0.7388 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3225, allocations: 314.8 kB / 0.7391 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.3226, allocations: 23.98 kB / 0.7391 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.3227, allocations: 35.91 kB / 0.7392 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.3228, allocations: 19.98 kB / 0.7392 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3228, allocations: 4 kB / 0.7392 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002202/0.323, allocations: 81.66 kB / 0.7393 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.323, allocations: 7.984 kB / 0.7393 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.323, allocations: 0 / 0.7393 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3231, allocations: 0 / 0.7393 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.3232, allocations: 19.94 kB / 0.7393 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3232, allocations: 0 / 0.7393 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.3232, allocations: 16 kB / 0.7393 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3233, allocations: 0 / 0.7393 GB, free: 3.602 MB / 0.5105 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 8.193e-05/0.3233, allocations: 109.8 kB / 0.7394 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3234, allocations: 7.906 kB / 0.7394 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3236, allocations: 101.5 kB / 0.7395 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3236, allocations: 0 / 0.7395 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3237, allocations: 3.953 kB / 0.7395 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3237, allocations: 0 / 0.7395 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3238, allocations: 161.7 kB / 0.7397 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3239, allocations: 0 / 0.7397 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.3239, allocations: 15.98 kB / 0.7397 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3239, allocations: 0 / 0.7397 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.324, allocations: 4 kB / 0.7397 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.324, allocations: 8 kB / 0.7397 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.324, allocations: 0 / 0.7397 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3243, allocations: 189.9 kB / 0.7399 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3243, allocations: 88.95 kB / 0.74 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3243, allocations: 0 / 0.74 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.3244, allocations: 12.03 kB / 0.74 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3245, allocations: 7.984 kB / 0.74 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3245, allocations: 7.984 kB / 0.74 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.3246, allocations: 79.28 kB / 0.7401 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3246, allocations: 3.938 kB / 0.7401 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000219/0.3248, allocations: 19.95 kB / 0.7401 GB, free: 2.695 MB / 0.5105 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.0001682/0.325, allocations: 116.3 kB / 0.7402 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3252, allocations: 55.95 kB / 0.7403 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3252, allocations: 0 / 0.7403 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3253, allocations: 35.92 kB / 0.7403 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.3255, allocations: 7.984 kB / 0.7403 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.3258, allocations: 128.6 kB / 0.7404 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3261, allocations: 0.6809 MB / 0.7411 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.3261, allocations: 11.98 kB / 0.7411 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3261, allocations: 7.438 kB / 0.7411 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.3261, allocations: 0 / 0.7411 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of Templates: time 0.002478/0.3286, allocations: 0.6409 MB / 0.7417 GB, free: 0.957 MB / 0.5105 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)