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.001217/0.001217, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 173.6 kB / 16.57 MB, free: 6.52 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.978/1.978, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8715/0.8715, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001676/0.1848, allocations: 1.229 MB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.1852, allocations: 124.5 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.1853, allocations: 3.938 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1853, allocations: 0 / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.1854, allocations: 7.984 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1856, allocations: 19.98 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.1857, allocations: 23.91 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1858, allocations: 11.98 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.1858, allocations: 4 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1859, allocations: 23.91 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1859, allocations: 3.938 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.186, allocations: 15.98 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.186, allocations: 7.938 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.186, allocations: 33.69 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.57e-05/0.1861, allocations: 23.95 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1861, allocations: 0 / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1861, allocations: 0 / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1861, allocations: 3.938 kB / 0.5582 GB, free: 10.15 MB / 430.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.0004473/0.1866, allocations: 351.5 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1866, allocations: 12.03 kB / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1867, allocations: 34.56 kB / 0.5586 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1867, allocations: 4 kB / 0.5586 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1868, allocations: 167 kB / 0.5588 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1869, allocations: 4 kB / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1869, allocations: 0 / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1871, allocations: 73.56 kB / 0.5588 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1871, allocations: 3.984 kB / 0.5588 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1871, allocations: 4 kB / 0.5588 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1871, allocations: 0 / 0.5588 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1873, allocations: 59.94 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1877, allocations: 280.7 kB / 0.5592 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.188, allocations: 66.47 kB / 0.5592 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.1884, allocations: 397.7 kB / 0.5596 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1884, allocations: 34.56 kB / 0.5596 GB, free: 8.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1884, allocations: 4 kB / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003848/0.1888, allocations: 113.5 kB / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1889, allocations: 51.41 kB / 0.5598 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.189, allocations: 121.8 kB / 0.5599 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.189, allocations: 25.7 kB / 0.5599 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.189, allocations: 80.14 kB / 0.56 GB, free: 8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.189, allocations: 11.91 kB / 0.56 GB, free: 7.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1891, allocations: 0 / 0.56 GB, free: 7.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1892, allocations: 314.8 kB / 0.5603 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.1893, allocations: 27.98 kB / 0.5604 GB, free: 7.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1894, allocations: 27.97 kB / 0.5604 GB, free: 7.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.1895, allocations: 23.98 kB / 0.5604 GB, free: 7.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1895, allocations: 3.938 kB / 0.5604 GB, free: 7.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.1897, allocations: 85.61 kB / 0.5605 GB, free: 7.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1897, allocations: 4 kB / 0.5605 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1897, allocations: 3.938 kB / 0.5605 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1897, allocations: 4 kB / 0.5605 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.1898, allocations: 11.98 kB / 0.5605 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1898, allocations: 7.938 kB / 0.5605 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.1899, allocations: 19.98 kB / 0.5605 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.1899, allocations: 0 / 0.5605 GB, free: 7.449 MB / 430.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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.19, allocations: 109.8 kB / 0.5606 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.19, allocations: 7.859 kB / 0.5607 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1903, allocations: 97.55 kB / 0.5607 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1903, allocations: 0 / 0.5607 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1903, allocations: 0 / 0.5607 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1903, allocations: 7.984 kB / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.1905, allocations: 161.7 kB / 0.5609 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1905, allocations: 4 kB / 0.5609 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.1906, allocations: 19.92 kB / 0.5609 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1906, allocations: 7.953 kB / 0.5609 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1906, allocations: 0 / 0.5609 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1906, allocations: 0 / 0.5609 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1906, allocations: 4 kB / 0.5609 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.1909, allocations: 175.9 kB / 0.5611 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.191, allocations: 85 kB / 0.5612 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.191, allocations: 8 kB / 0.5612 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.1911, allocations: 7.984 kB / 0.5612 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1912, allocations: 11.98 kB / 0.5612 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1912, allocations: 0 / 0.5612 GB, free: 6.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.1912, allocations: 91.27 kB / 0.5613 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 0.5613 GB, free: 6.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1915, allocations: 12 kB / 0.5613 GB, free: 6.551 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000593/0.1921, allocations: 0.7169 MB / 0.562 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1923, allocations: 55.95 kB / 0.5621 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1923, allocations: 0 / 0.5621 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1924, allocations: 39.91 kB / 0.5621 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1926, allocations: 11.89 kB / 0.5621 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.1935, allocations: 458.3 kB / 0.5626 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1938, allocations: 0.6809 MB / 0.5632 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1938, allocations: 4 kB / 0.5632 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1939, allocations: 19.42 kB / 0.5632 GB, free: 4.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1939, allocations: 0 / 0.5632 GB, free: 4.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6266/0.8205, allocations: 1.371 MB / 0.5646 GB, free: 3.246 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/0.8209, allocations: 181.1 kB / 0.5648 GB, free: 3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.511/4.332, allocations: 0 / 0.5648 GB, free: 3 MB / 430.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/linux/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) Environment - environmentSimulation: