Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004927/0.004927, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001208/0.001208, allocations: 190 kB / 16.67 MB, free: 5.977 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 0.9919/0.9919, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.5956 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3842, allocations: 82.03 MB / 0.6757 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001378/0.3856, allocations: 0.5693 MB / 0.6762 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.3858, allocations: 62.84 kB / 0.6763 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.3859, allocations: 4 kB / 0.6763 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.3859, allocations: 1.156 kB / 0.6763 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.3859, allocations: 3.938 kB / 0.6763 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3862, allocations: 9.922 kB / 0.6763 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.3863, allocations: 36.33 kB / 0.6763 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.3863, allocations: 1.25 kB / 0.6763 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.3863, allocations: 10.28 kB / 0.6764 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.474e-05/0.3864, allocations: 13.38 kB / 0.6764 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3864, allocations: 1.312 kB / 0.6764 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.3864, allocations: 16.86 kB / 0.6764 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3865, allocations: 13.06 kB / 0.6764 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.3865, allocations: 19.83 kB / 0.6764 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.069e-05/0.3866, allocations: 36.02 kB / 0.6765 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3866, allocations: 1 kB / 0.6765 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3866, allocations: 0 / 0.6765 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.3866, allocations: 0 / 0.6765 GB, free: 0.9258 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002481/0.3869, allocations: 334.2 kB / 0.6768 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3869, allocations: 9.531 kB / 0.6768 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.387, allocations: 7.812 kB / 0.6768 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.387, allocations: 168.2 kB / 0.677 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.387, allocations: 10.62 kB / 0.677 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3871, allocations: 3.75 kB / 0.677 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3872, allocations: 63.14 kB / 0.677 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3872, allocations: 192 / 0.677 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3872, allocations: 3.938 kB / 0.677 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.3872, allocations: 6.016 kB / 0.677 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3874, allocations: 107.3 kB / 0.6771 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.3875, allocations: 169.7 kB / 0.6773 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3876, allocations: 77.92 kB / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.3877, allocations: 31.72 kB / 0.6774 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.388, allocations: 397.3 kB / 0.6778 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.388, allocations: 35.94 kB / 0.6778 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.388, allocations: 3.938 kB / 0.6778 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002349/0.3883, allocations: 126.1 kB / 0.6779 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3883, allocations: 52.5 kB / 0.678 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.371e-05/0.3884, allocations: 99.92 kB / 0.6781 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3884, allocations: 29.7 kB / 0.6781 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.3884, allocations: 80.14 kB / 0.6782 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3884, allocations: 22.33 kB / 0.6782 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3885, allocations: 32.27 kB / 0.6782 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.3886, allocations: 316.1 kB / 0.6785 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.3886, allocations: 20.48 kB / 0.6786 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.3887, allocations: 20.42 kB / 0.6786 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.3888, allocations: 59.66 kB / 0.6786 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3888, allocations: 5.031 kB / 0.6786 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001341/0.3889, allocations: 100.3 kB / 0.6787 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3889, allocations: 6.031 kB / 0.6787 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3889, allocations: 3.938 kB / 0.6787 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3889, allocations: 1.219 kB / 0.6788 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.389, allocations: 14.47 kB / 0.6788 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3891, allocations: 4.953 kB / 0.6788 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.3891, allocations: 5.219 kB / 0.6788 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.3891, allocations: 3.5 kB / 0.6788 GB, free: 14.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001102/0.3892, allocations: 128.3 kB / 0.6789 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3892, allocations: 6.625 kB / 0.6789 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.3894, allocations: 126.4 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3894, allocations: 1.094 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3895, allocations: 1.125 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3895, allocations: 0 / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3896, allocations: 179.1 kB / 0.6792 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3896, allocations: 0 / 0.6792 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.3897, allocations: 23.72 kB / 0.6792 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3897, allocations: 7.938 kB / 0.6792 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3897, allocations: 6.297 kB / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3897, allocations: 0 / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3897, allocations: 1.094 kB / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3898, allocations: 115.6 kB / 0.6793 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.3899, allocations: 90.31 kB / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3899, allocations: 5.406 kB / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.3899, allocations: 0 / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3899, allocations: 11.89 kB / 0.6794 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.39, allocations: 3.969 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.39, allocations: 75.28 kB / 0.6795 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 0 / 0.6795 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001921/0.3902, allocations: 19.09 kB / 0.6795 GB, free: 13.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001712/0.3904, allocations: 119.8 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.3905, allocations: 63.2 kB / 0.6797 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3905, allocations: 5.031 kB / 0.6797 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.3906, allocations: 34.36 kB / 0.6798 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.3907, allocations: 6.219 kB / 0.6798 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.391, allocations: 157.1 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3912, allocations: 0.6822 MB / 0.6806 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.3913, allocations: 39.08 kB / 0.6806 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3913, allocations: 17.25 kB / 0.6806 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3913, allocations: 0 / 0.6806 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.002343/0.3937, allocations: 0.6221 MB / 0.6812 GB, free: 12.53 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)