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.001073/0.001073, allocations: 99.28 kB / 16.02 MB, free: 80 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.001623/0.001622, allocations: 186.6 kB / 16.92 MB, free: 6.75 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.696/0.696, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 8 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00183/0.1608, allocations: 1.246 MB / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.1612, allocations: 128.5 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1613, allocations: 4 kB / 0.5614 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.1613, allocations: 3.984 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.1614, allocations: 3.938 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1616, allocations: 23.98 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.1617, allocations: 35.86 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.1618, allocations: 15.97 kB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.1618, allocations: 12 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.1619, allocations: 15.92 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1619, allocations: 0 / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.162, allocations: 15.98 kB / 0.5615 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.162, allocations: 7.938 kB / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1621, allocations: 49.55 kB / 0.5616 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1622, allocations: 35.89 kB / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1622, allocations: 0 / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1622, allocations: 3.984 kB / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1622, allocations: 0 / 0.5616 GB, free: 7.301 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.0004662/0.1627, allocations: 353.4 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1628, allocations: 12.03 kB / 0.562 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1628, allocations: 38.75 kB / 0.562 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1628, allocations: 4.938 kB / 0.562 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.163, allocations: 168.2 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.163, allocations: 384 / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.163, allocations: 8.359 kB / 0.5622 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1632, allocations: 66.22 kB / 0.5622 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1632, allocations: 7.938 kB / 0.5622 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1633, allocations: 4 kB / 0.5622 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1633, allocations: 0 / 0.5622 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1635, allocations: 51.95 kB / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1639, allocations: 288.7 kB / 0.5626 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1643, allocations: 58.55 kB / 0.5626 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1644, allocations: 32.89 kB / 0.5626 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.1647, allocations: 401.5 kB / 0.563 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1647, allocations: 34.56 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1647, allocations: 0 / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004135/0.1652, allocations: 117.5 kB / 0.5632 GB, free: 5.418 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1652, allocations: 55.41 kB / 0.5632 GB, free: 5.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.1653, allocations: 109.8 kB / 0.5633 GB, free: 5.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1653, allocations: 25.7 kB / 0.5634 GB, free: 5.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.1654, allocations: 80.14 kB / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1654, allocations: 11.91 kB / 0.5634 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1654, allocations: 13.7 kB / 0.5635 GB, free: 5.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1656, allocations: 318.8 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.1657, allocations: 23.98 kB / 0.5638 GB, free: 4.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.1658, allocations: 27.97 kB / 0.5638 GB, free: 4.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.166, allocations: 64.75 kB / 0.5639 GB, free: 4.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.166, allocations: 0 / 0.5639 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002423/0.1662, allocations: 85.84 kB / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1663, allocations: 8 kB / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1663, allocations: 0 / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1663, allocations: 7.969 kB / 0.564 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.1664, allocations: 19.98 kB / 0.564 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1664, allocations: 0 / 0.564 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.1665, allocations: 7.984 kB / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1665, allocations: 7.938 kB / 0.564 GB, free: 4.512 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 (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 8.701e-05/0.1666, allocations: 113.8 kB / 0.5641 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1666, allocations: 4 kB / 0.5641 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.1669, allocations: 97.48 kB / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1669, allocations: 0 / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1669, allocations: 4 kB / 0.5642 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1669, allocations: 0 / 0.5642 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1671, allocations: 169.6 kB / 0.5644 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1671, allocations: 0 / 0.5644 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.1672, allocations: 19.98 kB / 0.5644 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1672, allocations: 0 / 0.5644 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1672, allocations: 0 / 0.5644 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1672, allocations: 3.984 kB / 0.5644 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1673, allocations: 0 / 0.5644 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1676, allocations: 191.3 kB / 0.5646 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1676, allocations: 77.11 kB / 0.5647 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1676, allocations: 0 / 0.5647 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.1677, allocations: 15.98 kB / 0.5647 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1678, allocations: 7.984 kB / 0.5647 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1678, allocations: 4 kB / 0.5647 GB, free: 3.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.1678, allocations: 83.28 kB / 0.5648 GB, free: 3.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1678, allocations: 0 / 0.5648 GB, free: 3.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1681, allocations: 15.92 kB / 0.5648 GB, free: 3.617 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 (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.000646/0.1687, allocations: 0.728 MB / 0.5655 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.169, allocations: 59.89 kB / 0.5655 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.169, allocations: 0 / 0.5655 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1691, allocations: 27.98 kB / 0.5656 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1694, allocations: 9.719 kB / 0.5656 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1708, allocations: 1.322 MB / 0.5669 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1711, allocations: 0.6848 MB / 0.5675 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.1711, allocations: 3.984 kB / 0.5675 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1712, allocations: 15.44 kB / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1712, allocations: 0 / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.1818, allocations: 1.401 MB / 0.5689 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1821, allocations: 198.9 kB / 0.5691 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.951, allocations: 4 kB / 0.5691 GB, free: 15.1 MB / 446.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)