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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 112.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8716/0.8716, allocations: 129.2 MB / 432.5 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.83 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4344, allocations: 83.44 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002665/0.4371, allocations: 1.537 MB / 0.6817 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003538/0.4374, allocations: 147.3 kB / 0.6818 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.4375, allocations: 1.031 kB / 0.6818 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.4375, allocations: 3.938 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.4376, allocations: 0 / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.4379, allocations: 29.06 kB / 0.6819 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.4379, allocations: 38.12 kB / 0.6819 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.438, allocations: 12.42 kB / 0.6819 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.4381, allocations: 17.52 kB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.4381, allocations: 17.83 kB / 0.6819 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.4381, allocations: 2.5 kB / 0.6819 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.4382, allocations: 22.48 kB / 0.682 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.4382, allocations: 9.172 kB / 0.682 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.4382, allocations: 24.39 kB / 0.682 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.4384, allocations: 39.34 kB / 0.682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4384, allocations: 0 / 0.682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4384, allocations: 0 / 0.682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4384, allocations: 1.125 kB / 0.682 GB, free: 4.523 MB / 0.4981 GB 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.0004041/0.4388, allocations: 363.8 kB / 0.6824 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4388, allocations: 9.031 kB / 0.6824 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.4388, allocations: 35.62 kB / 0.6824 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.4389, allocations: 7.047 kB / 0.6824 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.439, allocations: 162.4 kB / 0.6826 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.439, allocations: 6.875 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.439, allocations: 2.219 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4392, allocations: 68.12 kB / 0.6827 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4392, allocations: 3.938 kB / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4392, allocations: 0 / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4392, allocations: 1.312 kB / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4394, allocations: 56.25 kB / 0.6827 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.4397, allocations: 282.6 kB / 0.683 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.44, allocations: 53.83 kB / 0.683 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.4401, allocations: 30.98 kB / 0.6831 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.4403, allocations: 397.2 kB / 0.6834 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.4403, allocations: 35.59 kB / 0.6835 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4403, allocations: 0 / 0.6835 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003574/0.4406, allocations: 94.75 kB / 0.6836 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.4407, allocations: 51.41 kB / 0.6836 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.4407, allocations: 112.5 kB / 0.6837 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4407, allocations: 25.7 kB / 0.6837 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.4407, allocations: 89.56 kB / 0.6838 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.4408, allocations: 9.109 kB / 0.6838 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4408, allocations: 21.67 kB / 0.6839 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.4408, allocations: 316 kB / 0.6842 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.4409, allocations: 26.62 kB / 0.6842 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.441, allocations: 27.48 kB / 0.6842 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4411, allocations: 43.19 kB / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4411, allocations: 0 / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001884/0.4413, allocations: 72.16 kB / 0.6843 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4413, allocations: 7.25 kB / 0.6843 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4414, allocations: 1.109 kB / 0.6843 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4414, allocations: 3.984 kB / 0.6843 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.4414, allocations: 15.58 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4415, allocations: 1.094 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.4415, allocations: 7.297 kB / 0.6844 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.4415, allocations: 1.062 kB / 0.6844 GB, free: 2.09 MB / 0.4981 GB 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 5.061e-05/0.4416, allocations: 120.2 kB / 0.6845 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4416, allocations: 6.047 kB / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4418, allocations: 88.52 kB / 0.6846 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4418, allocations: 3.938 kB / 0.6846 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4418, allocations: 5.094 kB / 0.6846 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4418, allocations: 0 / 0.6846 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.4419, allocations: 165.2 kB / 0.6847 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4419, allocations: 3.984 kB / 0.6847 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.442, allocations: 7.719 kB / 0.6847 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.442, allocations: 1.062 kB / 0.6847 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.442, allocations: 3.984 kB / 0.6847 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.442, allocations: 1.094 kB / 0.6847 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.442, allocations: 4 kB / 0.6848 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4422, allocations: 175.2 kB / 0.6849 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.4423, allocations: 87.06 kB / 0.685 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4423, allocations: 3.984 kB / 0.685 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.4424, allocations: 4.531 kB / 0.685 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.4424, allocations: 14.11 kB / 0.685 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4424, allocations: 1.094 kB / 0.685 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.4425, allocations: 85.94 kB / 0.6851 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4425, allocations: 0 / 0.6851 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.4427, allocations: 12.86 kB / 0.6851 GB, free: 1.305 MB / 0.4981 GB 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.000485/0.4432, allocations: 0.7139 MB / 0.6858 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.4434, allocations: 41.61 kB / 0.6859 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4434, allocations: 0 / 0.6859 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.093e-05/0.4435, allocations: 21.86 kB / 0.6859 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4438, allocations: 10.27 kB / 0.6859 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.4452, allocations: 1.297 MB / 0.6872 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4456, allocations: 0.68 MB / 0.6878 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.4456, allocations: 2.375 kB / 0.6878 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4456, allocations: 22.83 kB / 0.6878 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.4456, allocations: 4 kB / 0.6878 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.47, allocations: 1.699 MB / 0.6895 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.587, allocations: 9.734 kB / 0.6895 GB, free: 13.66 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.998742782976478] Failed to read output from testmodel.py, exit status != 0: 8.65734320692718 8.682845288 8.23981505 Calling exit ...