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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001209/0.001209, allocations: 200.1 kB / 16.14 MB, free: 6.66 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.629 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 1.054/1.054, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.002141, allocations: 67.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2473, allocations: 82.04 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002977/0.2504, allocations: 1.597 MB / 0.5952 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005037/0.2509, allocations: 128.5 kB / 0.5953 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.251, allocations: 4 kB / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.251, allocations: 0 / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2511, allocations: 3.938 kB / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.2514, allocations: 23.97 kB / 0.5953 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.2515, allocations: 31.86 kB / 0.5953 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2516, allocations: 19.98 kB / 0.5954 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.2516, allocations: 11.94 kB / 0.5954 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.2517, allocations: 19.91 kB / 0.5954 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2517, allocations: 4 kB / 0.5954 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.2518, allocations: 19.98 kB / 0.5954 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.2518, allocations: 7.984 kB / 0.5954 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.2519, allocations: 11.94 kB / 0.5954 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.252, allocations: 43.86 kB / 0.5955 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.252, allocations: 4 kB / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.252, allocations: 0 / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.252, allocations: 0 / 0.5955 GB, free: 8.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005579/0.2526, allocations: 359.6 kB / 0.5958 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2526, allocations: 8.031 kB / 0.5958 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.2527, allocations: 8.938 kB / 0.5958 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2529, allocations: 172.2 kB / 0.596 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2529, allocations: 4.375 kB / 0.596 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2529, allocations: 384 / 0.596 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2531, allocations: 66.22 kB / 0.5961 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.2532, allocations: 192 / 0.5961 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2532, allocations: 7.938 kB / 0.5961 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2532, allocations: 0 / 0.5961 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2534, allocations: 43.95 kB / 0.5961 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.2539, allocations: 288.6 kB / 0.5964 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.2542, allocations: 58.53 kB / 0.5965 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.2543, allocations: 24.91 kB / 0.5965 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.2547, allocations: 401.5 kB / 0.5969 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2547, allocations: 34.56 kB / 0.5969 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2547, allocations: 4 kB / 0.5969 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/0.2551, allocations: 93.58 kB / 0.597 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2551, allocations: 51.41 kB / 0.597 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.2552, allocations: 113.8 kB / 0.5971 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2553, allocations: 25.7 kB / 0.5972 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.2553, allocations: 88.12 kB / 0.5973 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2553, allocations: 11.91 kB / 0.5973 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.2554, allocations: 13.72 kB / 0.5973 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2555, allocations: 322.8 kB / 0.5976 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.2556, allocations: 15.98 kB / 0.5976 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.2557, allocations: 19.98 kB / 0.5976 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2559, allocations: 44.81 kB / 0.5977 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2559, allocations: 4 kB / 0.5977 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002209/0.2561, allocations: 85.44 kB / 0.5978 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2561, allocations: 4 kB / 0.5978 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2562, allocations: 7.984 kB / 0.5978 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2562, allocations: 0 / 0.5978 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.2563, allocations: 8.328 kB / 0.5978 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2563, allocations: 3.984 kB / 0.5978 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.2563, allocations: 4 kB / 0.5978 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.2564, allocations: 4 kB / 0.5978 GB, free: 5.434 MB / 0.4981 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 8.259e-05/0.2564, allocations: 117.8 kB / 0.5979 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2565, allocations: 7.969 kB / 0.5979 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2568, allocations: 85.48 kB / 0.598 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2568, allocations: 0 / 0.598 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2568, allocations: 4 kB / 0.598 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2568, allocations: 7.938 kB / 0.598 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.257, allocations: 169.6 kB / 0.5982 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.257, allocations: 0 / 0.5982 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.2571, allocations: 11.98 kB / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2571, allocations: 0 / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2571, allocations: 0 / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2571, allocations: 0 / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2571, allocations: 0 / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.2574, allocations: 179.3 kB / 0.5983 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2574, allocations: 85.05 kB / 0.5984 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2574, allocations: 0 / 0.5984 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.2575, allocations: 11.98 kB / 0.5984 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2576, allocations: 4 kB / 0.5984 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.2576, allocations: 0 / 0.5984 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.2576, allocations: 87.27 kB / 0.5985 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2576, allocations: 4 kB / 0.5985 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.2579, allocations: 12 kB / 0.5985 GB, free: 4.555 MB / 0.4981 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 (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.0002088/0.2581, allocations: 103.2 kB / 0.5986 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2584, allocations: 43.95 kB / 0.5987 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2584, allocations: 0 / 0.5987 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.2585, allocations: 27.92 kB / 0.5987 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.2588, allocations: 18.55 kB / 0.5987 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.2592, allocations: 131.1 kB / 0.5988 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2595, allocations: 0.6809 MB / 0.5995 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.2596, allocations: 0 / 0.5995 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2596, allocations: 11.44 kB / 0.5995 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2596, allocations: 4 kB / 0.5995 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.003048/0.2627, allocations: 0.6746 MB / 0.6002 GB, free: 2.809 MB / 0.4981 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)