Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001758/0.001758, 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.002304/0.002304, 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.558/1.558, 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.021/1.021, allocations: 150 MB / 460.2 MB, free: 5.242 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.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002036/0.002036, allocations: 71.41 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1547, allocations: 89.13 MB / 0.7239 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002885/0.1576, allocations: 1.545 MB / 0.7254 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.158, allocations: 141.4 kB / 0.7255 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.158, allocations: 4 kB / 0.7255 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.1581, allocations: 3.938 kB / 0.7255 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.1581, allocations: 4 kB / 0.7255 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1584, allocations: 31.91 kB / 0.7255 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.1585, allocations: 31.91 kB / 0.7256 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.1586, allocations: 15.92 kB / 0.7256 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.1587, allocations: 15.98 kB / 0.7256 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.1587, allocations: 19.92 kB / 0.7256 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1587, allocations: 4 kB / 0.7256 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.1588, allocations: 19.98 kB / 0.7256 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.1588, allocations: 11.92 kB / 0.7256 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1589, allocations: 19.92 kB / 0.7257 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.159, allocations: 48.09 kB / 0.7257 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.159, allocations: 0 / 0.7257 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.159, allocations: 3.938 kB / 0.7257 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.159, allocations: 0 / 0.7257 GB, free: 2.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005641/0.1596, allocations: 355.3 kB / 0.7261 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1596, allocations: 8.031 kB / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.1597, allocations: 192 / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1597, allocations: 42.75 kB / 0.7261 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1597, allocations: 4.891 kB / 0.7261 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1599, allocations: 168.3 kB / 0.7263 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1599, allocations: 384 / 0.7263 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1599, allocations: 4.375 kB / 0.7263 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1601, allocations: 69.95 kB / 0.7263 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1601, allocations: 0 / 0.7263 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1602, allocations: 0 / 0.7263 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1602, allocations: 0 / 0.7263 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1604, allocations: 51.89 kB / 0.7264 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.1608, allocations: 280.8 kB / 0.7267 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.1612, allocations: 54.55 kB / 0.7267 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1613, allocations: 32.83 kB / 0.7267 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.1617, allocations: 397.5 kB / 0.7271 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1617, allocations: 34.56 kB / 0.7272 GB, free: 320 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1617, allocations: 0 / 0.7272 GB, free: 320 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000454/0.1622, allocations: 97.58 kB / 0.7272 GB, free: 216 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1622, allocations: 51.41 kB / 0.7273 GB, free: 152 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1623, allocations: 113.8 kB / 0.7274 GB, free: 28 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1623, allocations: 29.64 kB / 0.7274 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.1624, allocations: 88.2 kB / 0.7275 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1624, allocations: 7.953 kB / 0.7275 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1624, allocations: 17.7 kB / 0.7275 GB, free: 15.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1626, allocations: 322.7 kB / 0.7279 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1627, allocations: 19.97 kB / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.1628, allocations: 23.98 kB / 0.7279 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.163, allocations: 44.81 kB / 0.7279 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.163, allocations: 0 / 0.7279 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002438/0.1632, allocations: 73.66 kB / 0.728 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1632, allocations: 4 kB / 0.728 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1632, allocations: 7.938 kB / 0.728 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1632, allocations: 4 kB / 0.728 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.1633, allocations: 11.98 kB / 0.728 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1633, allocations: 3.938 kB / 0.728 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.1634, allocations: 15.88 kB / 0.7281 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1634, allocations: 0 / 0.7281 GB, free: 15.33 MB / 0.545 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 9.463e-05/0.1635, allocations: 117.8 kB / 0.7282 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1635, allocations: 0 / 0.7282 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1638, allocations: 85.88 kB / 0.7282 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1638, allocations: 0 / 0.7282 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1638, allocations: 4 kB / 0.7282 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1638, allocations: 4.031 kB / 0.7283 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.164, allocations: 173.6 kB / 0.7284 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.164, allocations: 0 / 0.7284 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.1641, allocations: 8 kB / 0.7284 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1641, allocations: 3.984 kB / 0.7284 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1641, allocations: 0 / 0.7284 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1641, allocations: 3.938 kB / 0.7284 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1641, allocations: 8 kB / 0.7284 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1644, allocations: 171.4 kB / 0.7286 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1645, allocations: 77.11 kB / 0.7287 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1645, allocations: 3.984 kB / 0.7287 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.1646, allocations: 8 kB / 0.7287 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.1647, allocations: 11.98 kB / 0.7287 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1647, allocations: 0 / 0.7287 GB, free: 14.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.1647, allocations: 91.58 kB / 0.7288 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1647, allocations: 0 / 0.7288 GB, free: 14.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.165, allocations: 8 kB / 0.7288 GB, free: 14.46 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: 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.0006841/0.1656, allocations: 0.7162 MB / 0.7295 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1659, allocations: 47.89 kB / 0.7295 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1659, allocations: 0 / 0.7295 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.166, allocations: 23.92 kB / 0.7296 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1663, allocations: 7.984 kB / 0.7296 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1679, allocations: 1.292 MB / 0.7308 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1682, allocations: 0.6807 MB / 0.7315 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.1683, allocations: 4 kB / 0.7315 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1683, allocations: 15.42 kB / 0.7315 GB, free: 11.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1683, allocations: 4 kB / 0.7315 GB, free: 11.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.1867, allocations: 1.747 MB / 0.7332 GB, free: 9.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.585, allocations: 9.094 kB / 0.7332 GB, free: 9.906 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.688261903997045] Failed to read output from testmodel.py, exit status != 0: 8.710752514016349 8.727245821 8.565153853 Calling exit ...