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.001054/0.001055, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.001048/0.001048, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.8239/0.8239, allocations: 143 MB / 433.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3208, allocations: 82.03 MB / 0.5944 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002296/0.3231, allocations: 1.585 MB / 0.596 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.3234, allocations: 136.9 kB / 0.5961 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.3235, allocations: 0 / 0.5961 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.3235, allocations: 5.109 kB / 0.5961 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.3236, allocations: 0 / 0.5961 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3239, allocations: 28.5 kB / 0.5961 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.324, allocations: 39.86 kB / 0.5962 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.324, allocations: 17.92 kB / 0.5962 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.3241, allocations: 8 kB / 0.5962 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.3241, allocations: 21.16 kB / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3241, allocations: 4 kB / 0.5962 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.245e-05/0.3242, allocations: 27.92 kB / 0.5963 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3242, allocations: 7.984 kB / 0.5963 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3243, allocations: 14.78 kB / 0.5963 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.3243, allocations: 31.94 kB / 0.5963 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3244, allocations: 3.938 kB / 0.5963 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3244, allocations: 0 / 0.5963 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3244, allocations: 0 / 0.5963 GB, free: 14.46 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.0003839/0.3248, allocations: 362.3 kB / 0.5967 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3248, allocations: 8.031 kB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3248, allocations: 4.938 kB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.3249, allocations: 173.7 kB / 0.5968 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3249, allocations: 4.375 kB / 0.5968 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3249, allocations: 384 / 0.5968 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3251, allocations: 66.88 kB / 0.5969 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3251, allocations: 5.719 kB / 0.5969 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3252, allocations: 3.938 kB / 0.5969 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3252, allocations: 0 / 0.5969 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3253, allocations: 45.33 kB / 0.597 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3257, allocations: 273.4 kB / 0.5972 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.326, allocations: 63.97 kB / 0.5973 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.3261, allocations: 26.38 kB / 0.5973 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.3263, allocations: 401.6 kB / 0.5977 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3263, allocations: 31.19 kB / 0.5977 GB, free: 12.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3263, allocations: 1.5 kB / 0.5977 GB, free: 12.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003519/0.3267, allocations: 97.62 kB / 0.5978 GB, free: 12.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3267, allocations: 56.56 kB / 0.5979 GB, free: 12.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.3268, allocations: 109.8 kB / 0.598 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3268, allocations: 30.61 kB / 0.598 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.3268, allocations: 84.14 kB / 0.5981 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3269, allocations: 9.344 kB / 0.5981 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3269, allocations: 13.72 kB / 0.5981 GB, free: 12.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.327, allocations: 323.6 kB / 0.5984 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.327, allocations: 15.98 kB / 0.5984 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3271, allocations: 25.38 kB / 0.5985 GB, free: 11.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3273, allocations: 41.64 kB / 0.5985 GB, free: 11.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3273, allocations: 0 / 0.5985 GB, free: 11.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000189/0.3275, allocations: 84.23 kB / 0.5986 GB, free: 11.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3275, allocations: 7.938 kB / 0.5986 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3275, allocations: 4 kB / 0.5986 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3275, allocations: 3.938 kB / 0.5986 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.3276, allocations: 12.31 kB / 0.5986 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3276, allocations: 1.469 kB / 0.5986 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.3277, allocations: 7.938 kB / 0.5986 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3277, allocations: 3.984 kB / 0.5986 GB, free: 11.81 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.129e-05/0.3278, allocations: 114.8 kB / 0.5987 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.3278, allocations: 9.422 kB / 0.5987 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.328, allocations: 86.92 kB / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.328, allocations: 0 / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.328, allocations: 0 / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.328, allocations: 0 / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3282, allocations: 170.9 kB / 0.599 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3282, allocations: 7.938 kB / 0.599 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.3283, allocations: 11.98 kB / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3283, allocations: 1.375 kB / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3283, allocations: 0 / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3283, allocations: 0 / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3283, allocations: 0 / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3285, allocations: 177.6 kB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.3285, allocations: 81.11 kB / 0.5992 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3285, allocations: 1.25 kB / 0.5992 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.3286, allocations: 7.984 kB / 0.5993 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3287, allocations: 13.23 kB / 0.5993 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3287, allocations: 0 / 0.5993 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.3287, allocations: 83.28 kB / 0.5993 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 5.312 kB / 0.5994 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.329, allocations: 8 kB / 0.5994 GB, free: 10.95 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.0001142/0.3291, allocations: 108.7 kB / 0.5995 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3293, allocations: 43.95 kB / 0.5995 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3293, allocations: 1.344 kB / 0.5995 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.3294, allocations: 23.98 kB / 0.5995 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3297, allocations: 11.83 kB / 0.5995 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.33, allocations: 164.2 kB / 0.5997 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3301, allocations: 0.6781 MB / 0.6004 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.3301, allocations: 11.44 kB / 0.6004 GB, free: 9.855 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3301, allocations: 3.938 kB / 0.6004 GB, free: 9.852 MB / 446.1 MB Notification: Performance of Templates: time 0.00182/0.3319, allocations: 0.8152 MB / 0.6012 GB, free: 9.07 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)