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.001092/0.001091, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.001156/0.001156, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7881/0.7881, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 71.48 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0016/0.1445, allocations: 0.565 MB / 0.6447 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.1448, allocations: 59.78 kB / 0.6447 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1448, allocations: 0 / 0.6447 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.1448, allocations: 3.938 kB / 0.6447 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.1449, allocations: 0 / 0.6447 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1451, allocations: 23.92 kB / 0.6447 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.1452, allocations: 31.95 kB / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.1453, allocations: 0 / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.1453, allocations: 15.94 kB / 0.6448 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.1453, allocations: 15.97 kB / 0.6448 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1454, allocations: 4 kB / 0.6448 GB, free: 8.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.1455, allocations: 15.98 kB / 0.6448 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.1455, allocations: 4 kB / 0.6448 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.1455, allocations: 19.91 kB / 0.6448 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1457, allocations: 36.11 kB / 0.6449 GB, free: 8.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1457, allocations: 0 / 0.6449 GB, free: 8.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1457, allocations: 4 kB / 0.6449 GB, free: 8.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1457, allocations: 7.938 kB / 0.6449 GB, free: 8.723 MB / 494.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.0003459/0.146, allocations: 335.4 kB / 0.6452 GB, free: 8.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1461, allocations: 12.56 kB / 0.6452 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.1461, allocations: 42.73 kB / 0.6453 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1462, allocations: 0.9375 kB / 0.6453 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.1463, allocations: 160.7 kB / 0.6454 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1463, allocations: 12.38 kB / 0.6454 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1463, allocations: 4.375 kB / 0.6454 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1465, allocations: 66.22 kB / 0.6455 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1465, allocations: 3.938 kB / 0.6455 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1465, allocations: 0 / 0.6455 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1465, allocations: 4 kB / 0.6455 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1467, allocations: 99.81 kB / 0.6456 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1468, allocations: 173.6 kB / 0.6458 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.147, allocations: 70.55 kB / 0.6458 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.147, allocations: 33.17 kB / 0.6459 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.1474, allocations: 405.5 kB / 0.6462 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1474, allocations: 38.5 kB / 0.6463 GB, free: 7.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1474, allocations: 0 / 0.6463 GB, free: 7.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002579/0.1477, allocations: 117.8 kB / 0.6464 GB, free: 6.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1477, allocations: 55.41 kB / 0.6464 GB, free: 6.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.488e-05/0.1478, allocations: 101.8 kB / 0.6465 GB, free: 6.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1478, allocations: 25.7 kB / 0.6466 GB, free: 6.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.1478, allocations: 80.14 kB / 0.6466 GB, free: 6.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1479, allocations: 31.81 kB / 0.6467 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1479, allocations: 33.7 kB / 0.6467 GB, free: 6.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.148, allocations: 310.8 kB / 0.647 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.1481, allocations: 27.86 kB / 0.647 GB, free: 6.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.1481, allocations: 23.98 kB / 0.6471 GB, free: 6.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1482, allocations: 60.77 kB / 0.6471 GB, free: 6.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1482, allocations: 4 kB / 0.6471 GB, free: 6.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001363/0.1484, allocations: 89.56 kB / 0.6472 GB, free: 6.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1484, allocations: 15.94 kB / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1484, allocations: 0 / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1484, allocations: 0 / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1486, allocations: 23.98 kB / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1486, allocations: 0 / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.1486, allocations: 3.938 kB / 0.6472 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1486, allocations: 4 kB / 0.6472 GB, free: 5.977 MB / 494.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 0.000148/0.1488, allocations: 125.8 kB / 0.6474 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.1488, allocations: 11.89 kB / 0.6474 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.149, allocations: 121.6 kB / 0.6475 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.149, allocations: 0 / 0.6475 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.149, allocations: 0 / 0.6475 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.149, allocations: 0 / 0.6475 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1492, allocations: 173.6 kB / 0.6477 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1492, allocations: 0 / 0.6477 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.1493, allocations: 27.91 kB / 0.6477 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1493, allocations: 11.88 kB / 0.6477 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1493, allocations: 0 / 0.6477 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1493, allocations: 4 kB / 0.6477 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1493, allocations: 0 / 0.6477 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1495, allocations: 117.1 kB / 0.6478 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.1495, allocations: 88.94 kB / 0.6479 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1495, allocations: 0 / 0.6479 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.1496, allocations: 8 kB / 0.6479 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1496, allocations: 7.984 kB / 0.6479 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1496, allocations: 0 / 0.6479 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.1496, allocations: 79.28 kB / 0.648 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1497, allocations: 4 kB / 0.648 GB, free: 5.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.1499, allocations: 12 kB / 0.648 GB, free: 5.094 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: 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.000461/0.1503, allocations: 0.6754 MB / 0.6487 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1505, allocations: 63.91 kB / 0.6487 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1505, allocations: 3.938 kB / 0.6487 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.1506, allocations: 35.98 kB / 0.6488 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.1507, allocations: 3.938 kB / 0.6488 GB, free: 4.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1511, allocations: 194.5 kB / 0.6489 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1514, allocations: 0.6807 MB / 0.6496 GB, free: 3.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.1514, allocations: 39.97 kB / 0.6497 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1515, allocations: 19.42 kB / 0.6497 GB, free: 3.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1515, allocations: 0 / 0.6497 GB, free: 3.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.17, allocations: 1.549 MB / 0.6512 GB, free: 1.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.774, allocations: 14.97 kB / 0.6512 GB, free: 1.82 MB / 494.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)