Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001009/0.001009, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001192/0.001192, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 293.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3569, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002302/0.3592, allocations: 1.532 MB / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.3595, allocations: 140.4 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.3596, allocations: 0 / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.3596, allocations: 7.875 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.3597, allocations: 0 / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.3599, allocations: 31.89 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.36, allocations: 39.86 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.3601, allocations: 19.98 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.3601, allocations: 11.98 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.3602, allocations: 23.84 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3602, allocations: 4 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.3603, allocations: 19.98 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3603, allocations: 4 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3603, allocations: 15.92 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3604, allocations: 59.47 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3605, allocations: 0 / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3605, allocations: 0 / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3605, allocations: 0 / 0.7689 GB, free: 2.016 MB / 0.5294 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.0004166/0.3609, allocations: 347.4 kB / 0.7692 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3609, allocations: 12.03 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.361, allocations: 0.9375 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3611, allocations: 170.8 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3611, allocations: 8.375 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3611, allocations: 4.375 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3613, allocations: 62.22 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3613, allocations: 192 / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3613, allocations: 3.938 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3613, allocations: 0 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3615, allocations: 47.95 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.3619, allocations: 284.7 kB / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.3622, allocations: 58.53 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.3623, allocations: 24.91 kB / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.3626, allocations: 401.5 kB / 0.7703 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3627, allocations: 38.5 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3627, allocations: 0 / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003599/0.363, allocations: 93.62 kB / 0.7704 GB, free: 236 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.3631, allocations: 51.41 kB / 0.7704 GB, free: 172 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.3631, allocations: 109.8 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.3631, allocations: 25.7 kB / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.3632, allocations: 84.14 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3632, allocations: 15.84 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.3633, allocations: 21.66 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.3633, allocations: 314.8 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.3634, allocations: 15.98 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.3635, allocations: 23.97 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3637, allocations: 60.64 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3637, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002079/0.3639, allocations: 77.55 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.364, allocations: 4 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.364, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.364, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.3641, allocations: 11.98 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3641, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.3641, allocations: 16 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3641, allocations: 3.984 kB / 0.7712 GB, free: 15.36 MB / 0.545 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 6.205e-05/0.3642, allocations: 116.5 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3642, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3645, allocations: 89.78 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3645, allocations: 0 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3645, allocations: 0 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.3645, allocations: 89.02 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3646, allocations: 0 / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.3647, allocations: 7.984 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3647, allocations: 11.92 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002648/0.365, allocations: 160.9 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002529/0.3652, allocations: 242.8 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.476e-05/0.3653, allocations: 23.97 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.3654, allocations: 95.25 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3654, allocations: 0 / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.3658, allocations: 113.2 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003662/0.3662, allocations: 0.5757 MB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Templates: time 0.002785/0.369, allocations: 0.8754 MB / 0.7735 GB, free: 12.87 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)