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.001079/0.001079, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001114/0.001114, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8476/0.8476, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3259, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002526/0.3285, allocations: 1.533 MB / 0.5972 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.3289, allocations: 132.5 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.3289, allocations: 1.219 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.329, allocations: 11.88 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.329, allocations: 7.922 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3293, allocations: 28.41 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.3294, allocations: 41.06 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.3295, allocations: 13.16 kB / 0.5974 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.3296, allocations: 15.92 kB / 0.5974 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.3296, allocations: 24.78 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3296, allocations: 4 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.3297, allocations: 15.98 kB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3297, allocations: 8.75 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.3297, allocations: 15.92 kB / 0.5975 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3299, allocations: 45.72 kB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3299, allocations: 0 / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3299, allocations: 4 kB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3299, allocations: 0 / 0.5975 GB, free: 14.24 MB / 446.1 MB 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.0003899/0.3303, allocations: 356.7 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3303, allocations: 8.031 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3304, allocations: 4.938 kB / 0.5979 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/0.3304, allocations: 164.9 kB / 0.5981 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3305, allocations: 4.969 kB / 0.5981 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3305, allocations: 4.312 kB / 0.5981 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3307, allocations: 67.53 kB / 0.5981 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3307, allocations: 192 / 0.5981 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3307, allocations: 5.344 kB / 0.5981 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3307, allocations: 0 / 0.5981 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3309, allocations: 45.42 kB / 0.5982 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3312, allocations: 286.5 kB / 0.5984 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3315, allocations: 60.58 kB / 0.5985 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.3316, allocations: 28.89 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.3318, allocations: 395.2 kB / 0.5989 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3318, allocations: 38.56 kB / 0.5989 GB, free: 12.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.3318, allocations: 1.906 kB / 0.5989 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003239/0.3321, allocations: 97.55 kB / 0.599 GB, free: 12.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.3322, allocations: 60.69 kB / 0.5991 GB, free: 12.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.3322, allocations: 109.8 kB / 0.5992 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3322, allocations: 29.7 kB / 0.5992 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3323, allocations: 80.98 kB / 0.5993 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.3323, allocations: 7.906 kB / 0.5993 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.3323, allocations: 19.17 kB / 0.5993 GB, free: 12.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.3324, allocations: 322.8 kB / 0.5996 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3325, allocations: 16.88 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.3326, allocations: 19.98 kB / 0.5997 GB, free: 11.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3327, allocations: 46 kB / 0.5997 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3327, allocations: 5.5 kB / 0.5997 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/0.3329, allocations: 77.5 kB / 0.5998 GB, free: 11.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3329, allocations: 8.656 kB / 0.5998 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3329, allocations: 0 / 0.5998 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3329, allocations: 1.469 kB / 0.5998 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.333, allocations: 11.98 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.333, allocations: 0 / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.3331, allocations: 13.36 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3331, allocations: 0 / 0.5998 GB, free: 11.6 MB / 446.1 MB 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 5.831e-05/0.3332, allocations: 118.4 kB / 0.5999 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.3332, allocations: 0 / 0.5999 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3334, allocations: 86.98 kB / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3334, allocations: 1.5 kB / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3334, allocations: 0 / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3335, allocations: 0 / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3336, allocations: 169.6 kB / 0.6002 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3336, allocations: 4.734 kB / 0.6002 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.3337, allocations: 12 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3337, allocations: 1.5 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3337, allocations: 3.984 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3337, allocations: 4 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3337, allocations: 0 / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3339, allocations: 173.9 kB / 0.6004 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.3339, allocations: 77.11 kB / 0.6005 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3339, allocations: 11.92 kB / 0.6005 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.334, allocations: 6.031 kB / 0.6005 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.3341, allocations: 12.34 kB / 0.6005 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3341, allocations: 0 / 0.6005 GB, free: 10.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.3341, allocations: 87.28 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3341, allocations: 1.344 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.3344, allocations: 11.98 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB 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.0001697/0.3345, allocations: 108.6 kB / 0.6007 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3348, allocations: 45.42 kB / 0.6007 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3348, allocations: 0 / 0.6007 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.3349, allocations: 27.97 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3352, allocations: 15.31 kB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.3354, allocations: 129.5 kB / 0.6009 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.3356, allocations: 0.6776 MB / 0.6016 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.3356, allocations: 9.172 kB / 0.6016 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.3356, allocations: 16.81 kB / 0.6016 GB, free: 9.656 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3357, allocations: 0 / 0.6016 GB, free: 9.656 MB / 446.1 MB Notification: Performance of Templates: time 0.002691/0.3383, allocations: 0.7602 MB / 0.6023 GB, free: 8.93 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)