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.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.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001454/0.001454, allocations: 100.8 kB / 16.4 MB, free: 6.484 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.001476/0.001476, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.34 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.167, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002839/0.1699, allocations: 1.512 MB / 0.6331 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.1703, allocations: 128.4 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1704, allocations: 4 kB / 0.6332 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.1705, allocations: 3.984 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.1705, allocations: 3.938 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1708, allocations: 35.91 kB / 0.6332 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.107e-05/0.1709, allocations: 43.78 kB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.171, allocations: 8 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.1711, allocations: 19.92 kB / 0.6333 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.1711, allocations: 23.91 kB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1712, allocations: 8 kB / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.743e-05/0.1713, allocations: 19.98 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.1713, allocations: 4 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1713, allocations: 15.92 kB / 0.6334 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1715, allocations: 47.81 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1715, allocations: 4 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1715, allocations: 0 / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1715, allocations: 0 / 0.6334 GB, free: 2.996 MB / 478.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.0005162/0.172, allocations: 346.3 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1721, allocations: 16.03 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1721, allocations: 34.69 kB / 0.6338 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.1721, allocations: 8.938 kB / 0.6338 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1723, allocations: 169.1 kB / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1723, allocations: 4.375 kB / 0.634 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1723, allocations: 4.359 kB / 0.634 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.1725, allocations: 62.22 kB / 0.634 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1725, allocations: 3.938 kB / 0.634 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1725, allocations: 4 kB / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1726, allocations: 4 kB / 0.6341 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.1728, allocations: 43.95 kB / 0.6341 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1732, allocations: 288.6 kB / 0.6344 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1735, allocations: 58.53 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.1736, allocations: 28.91 kB / 0.6345 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.1739, allocations: 397.5 kB / 0.6348 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1739, allocations: 34.5 kB / 0.6349 GB, free: 1.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1739, allocations: 0 / 0.6349 GB, free: 1.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003856/0.1743, allocations: 97.62 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1744, allocations: 55.41 kB / 0.635 GB, free: 1.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.1745, allocations: 105.8 kB / 0.6351 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1745, allocations: 29.7 kB / 0.6351 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.1745, allocations: 88.08 kB / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.1746, allocations: 11.89 kB / 0.6352 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1746, allocations: 13.72 kB / 0.6353 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1748, allocations: 318.8 kB / 0.6356 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.1749, allocations: 23.97 kB / 0.6356 GB, free: 488 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.1749, allocations: 19.98 kB / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1751, allocations: 48.75 kB / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1751, allocations: 0 / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002227/0.1754, allocations: 81.5 kB / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1754, allocations: 4 kB / 0.6357 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1754, allocations: 8 kB / 0.6357 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1754, allocations: 4 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.1755, allocations: 11.98 kB / 0.6357 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1755, allocations: 0 / 0.6357 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.1756, allocations: 7.984 kB / 0.6358 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1756, allocations: 0 / 0.6358 GB, free: 292 kB / 478.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 0.0001066/0.1757, allocations: 113.8 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1758, allocations: 7.938 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.176, allocations: 85.88 kB / 0.636 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.176, allocations: 48 / 0.636 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1761, allocations: 3.984 kB / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1761, allocations: 3.984 kB / 0.636 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1763, allocations: 169.6 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1763, allocations: 0 / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.1764, allocations: 11.98 kB / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1764, allocations: 0 / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1764, allocations: 4 kB / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1764, allocations: 0 / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1764, allocations: 0 / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1767, allocations: 175.3 kB / 0.6363 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.1768, allocations: 89.03 kB / 0.6364 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1768, allocations: 0 / 0.6364 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.1769, allocations: 12 kB / 0.6364 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.177, allocations: 7.984 kB / 0.6364 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.177, allocations: 3.938 kB / 0.6364 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.177, allocations: 87.27 kB / 0.6365 GB, free: 15.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.177, allocations: 4 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1773, allocations: 8 kB / 0.6365 GB, free: 15.41 MB / 494.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.0006736/0.178, allocations: 0.7189 MB / 0.6372 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1782, allocations: 43.95 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1782, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.1783, allocations: 23.97 kB / 0.6373 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1787, allocations: 14.39 kB / 0.6373 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1802, allocations: 1.284 MB / 0.6385 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1805, allocations: 0.6807 MB / 0.6392 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.1805, allocations: 8.109 kB / 0.6392 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.1805, allocations: 15.44 kB / 0.6392 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1806, allocations: 0 / 0.6392 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1995, allocations: 1.727 MB / 0.6409 GB, free: 10.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.806, allocations: 2.344 kB / 0.6409 GB, free: 10.84 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)