Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 104.4 kB / 15.98 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.001131/0.001131, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 63.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4345, allocations: 76.18 MB / 0.556 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00169/0.4362, allocations: 0.6344 MB / 0.5567 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000246/0.4365, allocations: 61.3 kB / 0.5567 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.4365, allocations: 0 / 0.5567 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.4366, allocations: 0 / 0.5567 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.4366, allocations: 0.5312 kB / 0.5567 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.4369, allocations: 18.59 kB / 0.5567 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.4369, allocations: 26.09 kB / 0.5568 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.437, allocations: 6.969 kB / 0.5568 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.437, allocations: 7.484 kB / 0.5568 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.437, allocations: 15.94 kB / 0.5568 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.4371, allocations: 1.688 kB / 0.5568 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.4371, allocations: 20.44 kB / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.4372, allocations: 10.97 kB / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.4372, allocations: 17.3 kB / 0.5568 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.018e-05/0.4373, allocations: 33.08 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4373, allocations: 0.6094 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4373, allocations: 1.594 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.4373, allocations: 5.375 kB / 0.5569 GB, free: 35.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002649/0.4376, allocations: 334 kB / 0.5572 GB, free: 34.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4376, allocations: 10.44 kB / 0.5572 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.4377, allocations: 36.7 kB / 0.5572 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.4377, allocations: 10.73 kB / 0.5572 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.743e-05/0.4378, allocations: 168 kB / 0.5574 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4378, allocations: 4.375 kB / 0.5574 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4378, allocations: 7.109 kB / 0.5574 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.438, allocations: 65.17 kB / 0.5575 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.438, allocations: 3.938 kB / 0.5575 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.438, allocations: 3.094 kB / 0.5575 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.438, allocations: 0 / 0.5575 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.4382, allocations: 108.6 kB / 0.5576 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.4383, allocations: 174.4 kB / 0.5578 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.4384, allocations: 71.08 kB / 0.5578 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.4384, allocations: 34.98 kB / 0.5579 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.4387, allocations: 396.3 kB / 0.5582 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.4387, allocations: 36.66 kB / 0.5583 GB, free: 33.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4387, allocations: 0 / 0.5583 GB, free: 33.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002331/0.439, allocations: 122.3 kB / 0.5584 GB, free: 33.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.439, allocations: 56.08 kB / 0.5584 GB, free: 33.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.407e-05/0.439, allocations: 100.2 kB / 0.5585 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4391, allocations: 25.7 kB / 0.5586 GB, free: 33.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.131e-05/0.4391, allocations: 80.14 kB / 0.5586 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4391, allocations: 24.83 kB / 0.5587 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4391, allocations: 35.89 kB / 0.5587 GB, free: 33.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.4392, allocations: 312.6 kB / 0.559 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.4392, allocations: 18.89 kB / 0.559 GB, free: 32.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.4393, allocations: 23.55 kB / 0.559 GB, free: 32.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.83e-05/0.4394, allocations: 69.64 kB / 0.5591 GB, free: 32.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4394, allocations: 0.9688 kB / 0.5591 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001168/0.4395, allocations: 84 kB / 0.5592 GB, free: 32.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4395, allocations: 10.19 kB / 0.5592 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4395, allocations: 0 / 0.5592 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4395, allocations: 1.156 kB / 0.5592 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.4396, allocations: 24.16 kB / 0.5592 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4397, allocations: 1.312 kB / 0.5592 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.4397, allocations: 6.062 kB / 0.5592 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4397, allocations: 2.594 kB / 0.5592 GB, free: 32.82 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: 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 9.596e-05/0.4398, allocations: 126.3 kB / 0.5593 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.4398, allocations: 10.22 kB / 0.5594 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.44, allocations: 126.8 kB / 0.5595 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.44, allocations: 0.75 kB / 0.5595 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.44, allocations: 0 / 0.5595 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.44, allocations: 5.406 kB / 0.5595 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.4401, allocations: 173.1 kB / 0.5596 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4401, allocations: 1.656 kB / 0.5597 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.4402, allocations: 29.06 kB / 0.5597 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4402, allocations: 5.125 kB / 0.5597 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4402, allocations: 6.281 kB / 0.5597 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4402, allocations: 2.844 kB / 0.5597 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4402, allocations: 0 / 0.5597 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.4404, allocations: 119.2 kB / 0.5598 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.4404, allocations: 88.39 kB / 0.5599 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4404, allocations: 0 / 0.5599 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.4404, allocations: 9 kB / 0.5599 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4405, allocations: 6.484 kB / 0.5599 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4405, allocations: 3.531 kB / 0.5599 GB, free: 32.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.329e-05/0.4405, allocations: 76 kB / 0.56 GB, free: 32.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4405, allocations: 1.875 kB / 0.56 GB, free: 32.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.4407, allocations: 15.62 kB / 0.56 GB, free: 32.14 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: 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.0003533/0.4411, allocations: 0.6724 MB / 0.5607 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4412, allocations: 75.92 kB / 0.5607 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4412, allocations: 0 / 0.5607 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.4413, allocations: 37.16 kB / 0.5608 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.4415, allocations: 8.5 kB / 0.5608 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.4418, allocations: 192.1 kB / 0.561 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.4419, allocations: 0.6826 MB / 0.5616 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.442, allocations: 37.55 kB / 0.5617 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.442, allocations: 19.3 kB / 0.5617 GB, free: 30.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.442, allocations: 0.625 kB / 0.5617 GB, free: 30.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/1.507, allocations: 1.459 MB / 0.5631 GB, free: 30.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.507, allocations: 202.7 kB / 0.5633 GB, free: 30.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/3.192, allocations: 1.219 kB / 0.5633 GB, free: 30.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)