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.001113/0.001113, allocations: 92.72 kB / 16.02 MB, free: 84 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.001586/0.001586, allocations: 177.9 kB / 16.92 MB, free: 6.684 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6778/0.6778, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004018, allocations: 12.28 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 77.53 MB / 0.5601 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007066/0.1404, allocations: 303.8 kB / 0.5603 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.1407, allocations: 62.34 kB / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.179e-05/0.1407, allocations: 0 / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1407, allocations: 0 / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-06/0.1407, allocations: 4 kB / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.141, allocations: 15.98 kB / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.1411, allocations: 31.95 kB / 0.5605 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.1411, allocations: 0 / 0.5605 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.1412, allocations: 12 kB / 0.5605 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.1412, allocations: 11.97 kB / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1412, allocations: 4 kB / 0.5605 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.1413, allocations: 15.98 kB / 0.5605 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.1414, allocations: 11.94 kB / 0.5605 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.1414, allocations: 37.64 kB / 0.5605 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.1415, allocations: 27.89 kB / 0.5606 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1415, allocations: 4 kB / 0.5606 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1416, allocations: 0 / 0.5606 GB, free: 8.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1416, allocations: 0 / 0.5606 GB, free: 8.398 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003239/0.1419, allocations: 339.5 kB / 0.5609 GB, free: 8.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1419, allocations: 12.03 kB / 0.5609 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.142, allocations: 34.75 kB / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.142, allocations: 8.844 kB / 0.561 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1422, allocations: 164.6 kB / 0.5611 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1422, allocations: 4.375 kB / 0.5611 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1422, allocations: 8.375 kB / 0.5611 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1424, allocations: 78.16 kB / 0.5612 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1424, allocations: 3.938 kB / 0.5612 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1424, allocations: 0 / 0.5612 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1424, allocations: 0 / 0.5612 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1426, allocations: 103.8 kB / 0.5613 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.1427, allocations: 173.6 kB / 0.5615 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1429, allocations: 70.55 kB / 0.5615 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.1429, allocations: 36.84 kB / 0.5616 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.1432, allocations: 401.5 kB / 0.5619 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1433, allocations: 34.56 kB / 0.562 GB, free: 6.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1433, allocations: 0 / 0.562 GB, free: 6.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002332/0.1435, allocations: 125 kB / 0.5621 GB, free: 6.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1435, allocations: 51.41 kB / 0.5622 GB, free: 6.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.1436, allocations: 101.8 kB / 0.5622 GB, free: 6.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1436, allocations: 25.7 kB / 0.5623 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1437, allocations: 84.14 kB / 0.5624 GB, free: 6.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1437, allocations: 23.66 kB / 0.5624 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1437, allocations: 17.72 kB / 0.5624 GB, free: 6.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1438, allocations: 318.8 kB / 0.5627 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.1439, allocations: 19.98 kB / 0.5627 GB, free: 5.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.1439, allocations: 19.98 kB / 0.5627 GB, free: 5.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.144, allocations: 68.7 kB / 0.5628 GB, free: 5.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.144, allocations: 0 / 0.5628 GB, free: 5.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001288/0.1442, allocations: 85.67 kB / 0.5629 GB, free: 5.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1442, allocations: 15.94 kB / 0.5629 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1442, allocations: 0 / 0.5629 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1442, allocations: 0 / 0.5629 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.1443, allocations: 19.98 kB / 0.5629 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1443, allocations: 0 / 0.5629 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.1443, allocations: 3.906 kB / 0.5629 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1444, allocations: 4 kB / 0.5629 GB, free: 5.668 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: 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.0001305/0.1445, allocations: 125.8 kB / 0.563 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1445, allocations: 15.88 kB / 0.5631 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1447, allocations: 126.5 kB / 0.5632 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1447, allocations: 0 / 0.5632 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1447, allocations: 0 / 0.5632 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1447, allocations: 0 / 0.5632 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.1449, allocations: 177.5 kB / 0.5633 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1449, allocations: 0 / 0.5633 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.145, allocations: 27.92 kB / 0.5634 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.145, allocations: 3.938 kB / 0.5634 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.145, allocations: 4 kB / 0.5634 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.145, allocations: 0 / 0.5634 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.145, allocations: 0 / 0.5634 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1451, allocations: 125.8 kB / 0.5635 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1452, allocations: 88.89 kB / 0.5636 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1452, allocations: 8 kB / 0.5636 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.1452, allocations: 0 / 0.5636 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1453, allocations: 7.984 kB / 0.5636 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1453, allocations: 8 kB / 0.5636 GB, free: 4.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.1453, allocations: 75.28 kB / 0.5637 GB, free: 4.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 0.5637 GB, free: 4.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.1455, allocations: 12 kB / 0.5637 GB, free: 4.777 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: 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.0004629/0.146, allocations: 0.6761 MB / 0.5644 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1461, allocations: 59.91 kB / 0.5644 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1461, allocations: 0 / 0.5644 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.1462, allocations: 39.81 kB / 0.5644 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1463, allocations: 1.719 kB / 0.5644 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.1467, allocations: 192.2 kB / 0.5646 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.147, allocations: 0.6888 MB / 0.5653 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.147, allocations: 35.95 kB / 0.5653 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1471, allocations: 19.42 kB / 0.5654 GB, free: 2.984 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1471, allocations: 0 / 0.5654 GB, free: 2.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.236/0.3831, allocations: 1.356 MB / 0.5667 GB, free: 1.766 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000431/0.3836, allocations: 199.7 kB / 0.5669 GB, free: 1.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.521, allocations: 0 / 0.5669 GB, free: 1.516 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)