Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 106.2 kB / 16.45 MB, free: 6.445 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.002017/0.002017, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 286.9 kB / 303 MB, free: 3.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5262 GB, free: 2.766 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 95.84 kB / 0.7248 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5343, allocations: 94.16 MB / 0.8168 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001656/0.5359, allocations: 0.5912 MB / 0.8173 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.5362, allocations: 64.52 kB / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.5362, allocations: 0 / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.5363, allocations: 0 / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.5363, allocations: 1.031 kB / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.5366, allocations: 17 kB / 0.8174 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.5367, allocations: 26.44 kB / 0.8174 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.5367, allocations: 9.5 kB / 0.8175 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.5367, allocations: 10.45 kB / 0.8175 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.5368, allocations: 21.61 kB / 0.8175 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5368, allocations: 1.344 kB / 0.8175 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.5369, allocations: 20.08 kB / 0.8175 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.5369, allocations: 9.125 kB / 0.8175 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.5369, allocations: 11.72 kB / 0.8175 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.537, allocations: 35.73 kB / 0.8176 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.537, allocations: 0.9062 kB / 0.8176 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.537, allocations: 0 / 0.8176 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.537, allocations: 0 / 0.8176 GB, free: 6.672 MB / 0.5762 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.0002543/0.5373, allocations: 346.2 kB / 0.8179 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5373, allocations: 9.938 kB / 0.8179 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.5373, allocations: 32.66 kB / 0.8179 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.5374, allocations: 2.906 kB / 0.8179 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.259e-05/0.5374, allocations: 166 kB / 0.8181 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5374, allocations: 10.38 kB / 0.8181 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.5374, allocations: 3.438 kB / 0.8181 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5376, allocations: 72.45 kB / 0.8182 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5376, allocations: 5 kB / 0.8182 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.5376, allocations: 4 kB / 0.8182 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5376, allocations: 1.594 kB / 0.8182 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5377, allocations: 105 kB / 0.8183 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.5378, allocations: 168.8 kB / 0.8184 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.5379, allocations: 68.98 kB / 0.8185 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.538, allocations: 32.39 kB / 0.8185 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.5382, allocations: 401.6 kB / 0.8189 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5382, allocations: 35.66 kB / 0.819 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.5382, allocations: 336 / 0.819 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002293/0.5384, allocations: 118.6 kB / 0.8191 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.5385, allocations: 52.44 kB / 0.8191 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.987e-05/0.5385, allocations: 94.89 kB / 0.8192 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.006e-06/0.5385, allocations: 30.61 kB / 0.8192 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-06/0.5385, allocations: 80.14 kB / 0.8193 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.5385, allocations: 24.02 kB / 0.8193 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.5386, allocations: 36.17 kB / 0.8194 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.5386, allocations: 315.5 kB / 0.8197 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.5386, allocations: 23.23 kB / 0.8197 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.5387, allocations: 23.84 kB / 0.8197 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.877e-05/0.5388, allocations: 58.44 kB / 0.8198 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5388, allocations: 4.656 kB / 0.8198 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001196/0.5389, allocations: 91.5 kB / 0.8199 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.5389, allocations: 8.906 kB / 0.8199 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5389, allocations: 0 / 0.8199 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5389, allocations: 4.906 kB / 0.8199 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.539, allocations: 22.41 kB / 0.8199 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.539, allocations: 5 kB / 0.8199 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.539, allocations: 5.188 kB / 0.8199 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.539, allocations: 3.625 kB / 0.8199 GB, free: 4.418 MB / 0.5762 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 0.0001067/0.5391, allocations: 119.8 kB / 0.82 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.5392, allocations: 10.73 kB / 0.82 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.5393, allocations: 130.6 kB / 0.8202 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5394, allocations: 2.641 kB / 0.8202 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5394, allocations: 0 / 0.8202 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5394, allocations: 0.5625 kB / 0.8202 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.5394, allocations: 180.2 kB / 0.8203 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5394, allocations: 1.5 kB / 0.8203 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.5395, allocations: 15.11 kB / 0.8204 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5395, allocations: 4.969 kB / 0.8204 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5395, allocations: 13.05 kB / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5395, allocations: 1.125 kB / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5395, allocations: 0 / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5397, allocations: 123.6 kB / 0.8205 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.5397, allocations: 91.14 kB / 0.8206 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5397, allocations: 1.531 kB / 0.8206 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.5397, allocations: 3.422 kB / 0.8206 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5397, allocations: 7.75 kB / 0.8206 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5398, allocations: 6.844 kB / 0.8206 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.5398, allocations: 75.28 kB / 0.8207 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5398, allocations: 4 kB / 0.8207 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001981/0.54, allocations: 18.88 kB / 0.8207 GB, free: 3.719 MB / 0.5762 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.0003644/0.5403, allocations: 0.6731 MB / 0.8213 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.5405, allocations: 55.34 kB / 0.8214 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5405, allocations: 4 kB / 0.8214 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.5405, allocations: 31.64 kB / 0.8214 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.5407, allocations: 12.62 kB / 0.8214 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.541, allocations: 177.4 kB / 0.8216 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5414, allocations: 0.6826 MB / 0.8223 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.994e-05/0.5414, allocations: 41.89 kB / 0.8223 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5415, allocations: 20.59 kB / 0.8223 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5415, allocations: 0 / 0.8223 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.5712, allocations: 1.596 MB / 0.8239 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.554, allocations: 10.11 kB / 0.8239 GB, free: 17.82 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.456455885898322] Failed to read output from testmodel.py, exit status != 0: 8.620378519408405 8.643248252 8.10078333 Calling exit ...