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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 122.8 kB / 17.84 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 198.3 kB / 20.79 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 150 MB / 460.2 MB, free: 5.258 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.19 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.164, allocations: 89.13 MB / 0.7239 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001894/0.1659, allocations: 0.5719 MB / 0.7244 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.1662, allocations: 63.72 kB / 0.7245 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1662, allocations: 4 kB / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.1662, allocations: 0 / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-06/0.1662, allocations: 0 / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1666, allocations: 15.98 kB / 0.7245 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1667, allocations: 27.97 kB / 0.7246 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.1668, allocations: 11.98 kB / 0.7246 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1668, allocations: 7.938 kB / 0.7246 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.1668, allocations: 15.98 kB / 0.7246 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1669, allocations: 0 / 0.7246 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.167, allocations: 19.97 kB / 0.7246 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.167, allocations: 11.92 kB / 0.7246 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.167, allocations: 19.94 kB / 0.7246 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.1671, allocations: 36.11 kB / 0.7247 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1671, allocations: 3.938 kB / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1671, allocations: 0 / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1671, allocations: 0 / 0.7247 GB, free: 3.164 MB / 0.5294 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.0004056/0.1676, allocations: 339.4 kB / 0.725 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1676, allocations: 12.03 kB / 0.725 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.569e-05/0.1676, allocations: 4.172 kB / 0.725 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1676, allocations: 30.75 kB / 0.725 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.1677, allocations: 8.938 kB / 0.725 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1678, allocations: 164.4 kB / 0.7252 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1678, allocations: 4.375 kB / 0.7252 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.1678, allocations: 384 / 0.7252 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.168, allocations: 73.91 kB / 0.7253 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.168, allocations: 0 / 0.7253 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.168, allocations: 7.938 kB / 0.7253 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.168, allocations: 0 / 0.7253 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1681, allocations: 99.88 kB / 0.7254 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.1683, allocations: 181.5 kB / 0.7256 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1685, allocations: 62.95 kB / 0.7256 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1685, allocations: 32.78 kB / 0.7256 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004371/0.169, allocations: 405.5 kB / 0.726 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.169, allocations: 38.5 kB / 0.7261 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.169, allocations: 0 / 0.7261 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002944/0.1693, allocations: 117.8 kB / 0.7262 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1694, allocations: 55.41 kB / 0.7262 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.1694, allocations: 101.8 kB / 0.7263 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.1695, allocations: 29.7 kB / 0.7264 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.1695, allocations: 80.14 kB / 0.7264 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.1695, allocations: 15.91 kB / 0.7265 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1696, allocations: 29.7 kB / 0.7265 GB, free: 1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1698, allocations: 318.8 kB / 0.7268 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1698, allocations: 19.98 kB / 0.7268 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.1699, allocations: 27.92 kB / 0.7268 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.17, allocations: 64.83 kB / 0.7269 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.17, allocations: 3.938 kB / 0.7269 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001412/0.1701, allocations: 89.62 kB / 0.727 GB, free: 480 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1701, allocations: 7.938 kB / 0.727 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1701, allocations: 0 / 0.727 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1701, allocations: 0 / 0.727 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1703, allocations: 23.92 kB / 0.727 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.1703, allocations: 7.922 kB / 0.727 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1703, allocations: 11.94 kB / 0.727 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1703, allocations: 0 / 0.727 GB, free: 428 kB / 0.5294 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.0001489/0.1705, allocations: 127.6 kB / 0.7272 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1705, allocations: 11.89 kB / 0.7272 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1707, allocations: 117.5 kB / 0.7273 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1707, allocations: 3.938 kB / 0.7273 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1707, allocations: 0 / 0.7273 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1707, allocations: 11.97 kB / 0.7273 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1709, allocations: 173.6 kB / 0.7275 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1709, allocations: 4 kB / 0.7275 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.171, allocations: 23.92 kB / 0.7275 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.171, allocations: 0 / 0.7275 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.171, allocations: 4 kB / 0.7275 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.171, allocations: 0 / 0.7275 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/0.171, allocations: 4 kB / 0.7275 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1712, allocations: 124 kB / 0.7276 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1712, allocations: 88.94 kB / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1713, allocations: 8 kB / 0.7277 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.1713, allocations: 4 kB / 0.7277 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1713, allocations: 7.984 kB / 0.7277 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1713, allocations: 4 kB / 0.7277 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.1713, allocations: 75.28 kB / 0.7278 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1713, allocations: 0 / 0.7278 GB, free: 15.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002009/0.1715, allocations: 16 kB / 0.7278 GB, free: 15.52 MB / 0.545 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.0005991/0.1721, allocations: 0.667 MB / 0.7285 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1723, allocations: 55.91 kB / 0.7285 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1723, allocations: 4 kB / 0.7285 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.1724, allocations: 35.91 kB / 0.7285 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1725, allocations: 5.562 kB / 0.7286 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.1729, allocations: 189.7 kB / 0.7287 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1733, allocations: 0.6845 MB / 0.7294 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.464e-05/0.1734, allocations: 35.95 kB / 0.7294 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1734, allocations: 19.44 kB / 0.7295 GB, free: 13.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1734, allocations: 0 / 0.7295 GB, free: 13.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1911, allocations: 1.614 MB / 0.731 GB, free: 12.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.692, allocations: 9.734 kB / 0.731 GB, free: 12.25 MB / 0.545 GB " [Timeout remaining time 651] (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 --stepSize=0.00556 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.666709750017617] Failed to read output from testmodel.py, exit status != 0: 8.815294458996505 8.831204377 8.661180606 Calling exit ...