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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9061/0.9061, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5723/0.5723, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.75e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001039/0.001057, allocations: 0.5869 MB / 0.5548 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.001286, allocations: 47.81 kB / 0.5549 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.001306, allocations: 0 / 0.5549 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.001333, allocations: 0 / 0.5549 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.00134, allocations: 0 / 0.5549 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.001637, allocations: 23.84 kB / 0.5549 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.001716, allocations: 31.97 kB / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.001754, allocations: 0 / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.856e-05/0.001793, allocations: 23.91 kB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.001816, allocations: 7.984 kB / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.001831, allocations: 4 kB / 0.555 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.001919, allocations: 23.97 kB / 0.555 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.001945, allocations: 8 kB / 0.555 GB, free: 2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.001972, allocations: 19.91 kB / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.002078, allocations: 31.89 kB / 0.555 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00208, allocations: 0 / 0.555 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002081, allocations: 0 / 0.555 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.002085, allocations: 0 / 0.555 GB, free: 1.949 MB / 0.5105 GB 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.0002676/0.002353, allocations: 266.3 kB / 0.5553 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.002393, allocations: 8.625 kB / 0.5553 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.002423, allocations: 34.75 kB / 0.5553 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.002448, allocations: 8.891 kB / 0.5553 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.755e-05/0.002505, allocations: 113.7 kB / 0.5554 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.002517, allocations: 4.375 kB / 0.5554 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.002527, allocations: 4.375 kB / 0.5555 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.002645, allocations: 66.22 kB / 0.5555 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.002653, allocations: 192 / 0.5555 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.002663, allocations: 8.375 kB / 0.5555 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.002669, allocations: 4.125 kB / 0.5555 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.00277, allocations: 99.8 kB / 0.5556 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.0029, allocations: 132.8 kB / 0.5557 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.002991, allocations: 73.88 kB / 0.5558 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.003029, allocations: 36.84 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.003207, allocations: 15.97 kB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.003229, allocations: 38.56 kB / 0.5559 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.00323, allocations: 0 / 0.5559 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001998/0.00343, allocations: 117.8 kB / 0.556 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.003459, allocations: 55.34 kB / 0.5561 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.018e-05/0.003489, allocations: 101.8 kB / 0.5562 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.0035, allocations: 25.7 kB / 0.5562 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/0.00352, allocations: 80.14 kB / 0.5563 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.003546, allocations: 27.78 kB / 0.5563 GB, free: 496 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.00358, allocations: 33.7 kB / 0.5563 GB, free: 456 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.003656, allocations: 314.8 kB / 0.5566 GB, free: 132 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.003683, allocations: 19.98 kB / 0.5566 GB, free: 112 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.003708, allocations: 19.98 kB / 0.5567 GB, free: 92 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.003778, allocations: 60.83 kB / 0.5567 GB, free: 28 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.003781, allocations: 0 / 0.5567 GB, free: 28 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001072/0.003888, allocations: 97.16 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.003901, allocations: 4 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.003908, allocations: 3.984 kB / 0.5568 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.00392, allocations: 4 kB / 0.5568 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.003998, allocations: 23.88 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.004005, allocations: 8 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.004018, allocations: 3.953 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.004024, allocations: 7.984 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB 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 9.02e-05/0.004115, allocations: 117.8 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.00412, allocations: 0 / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.004266, allocations: 141.4 kB / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.004269, allocations: 3.938 kB / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.004274, allocations: 0 / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004278, allocations: 0 / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.596e-05/0.004364, allocations: 140.8 kB / 0.5573 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004364, allocations: 0 / 0.5573 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.004401, allocations: 15.98 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.004404, allocations: 4 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.004413, allocations: 4 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.004416, allocations: 3.938 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.004417, allocations: 0 / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.004539, allocations: 128.9 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.004548, allocations: 3.938 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.004561, allocations: 7.938 kB / 0.5574 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.00457, allocations: 4 kB / 0.5574 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.004605, allocations: 11.98 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.004609, allocations: 4 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.004631, allocations: 75.28 kB / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004631, allocations: 0 / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001371/0.004768, allocations: 12 kB / 0.5575 GB, free: 15.13 MB / 0.5261 GB 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.0003963/0.005164, allocations: 0.6705 MB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.005282, allocations: 59.84 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005284, allocations: 0 / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.005324, allocations: 43.91 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.005434, allocations: 7.609 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.005783, allocations: 178.4 kB / 0.5584 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.005833, allocations: 63.34 kB / 0.5585 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.005878, allocations: 31.97 kB / 0.5585 GB, free: 14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.005912, allocations: 24.48 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.005913, allocations: 0 / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.02084, allocations: 2.212 MB / 0.5607 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.152, allocations: 4.844 kB / 0.5607 GB, free: 11.91 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.00556 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.64926814287901] Failed to read output from testmodel.py, exit status != 0: 7.230430186726153 7.239268901 7.235436546 Calling exit ...