Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00124/0.00124, allocations: 110.5 kB / 16.45 MB, free: 6.035 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.001251/0.001251, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.002485/0.002485, allocations: 290.5 kB / 303 MB, free: 9.496 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.23/1.23, allocations: 180.9 MB / 0.5261 GB, free: 14.81 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.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 101.5 kB / 0.7248 GB, free: 40.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1861, allocations: 94.15 MB / 0.8167 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002985/0.1891, allocations: 1.544 MB / 0.8182 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.1895, allocations: 144.4 kB / 0.8184 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.1896, allocations: 0 / 0.8184 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.1896, allocations: 3.938 kB / 0.8184 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.1897, allocations: 7.875 kB / 0.8184 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.19, allocations: 27.91 kB / 0.8184 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.1901, allocations: 43.97 kB / 0.8185 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1902, allocations: 11.98 kB / 0.8185 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.1902, allocations: 11.94 kB / 0.8185 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.1902, allocations: 19.92 kB / 0.8185 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1903, allocations: 3.938 kB / 0.8185 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.1903, allocations: 19.98 kB / 0.8185 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.1904, allocations: 11.97 kB / 0.8185 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1904, allocations: 15.94 kB / 0.8185 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1905, allocations: 52.02 kB / 0.8186 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1905, allocations: 0 / 0.8186 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1905, allocations: 4 kB / 0.8186 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1905, allocations: 0 / 0.8186 GB, free: 3.555 MB / 0.5606 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.0005605/0.1911, allocations: 351.4 kB / 0.8189 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1912, allocations: 8.031 kB / 0.8189 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.1912, allocations: 38.73 kB / 0.819 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1912, allocations: 4.891 kB / 0.819 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1914, allocations: 164.4 kB / 0.8191 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1914, allocations: 384 / 0.8191 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1914, allocations: 8.375 kB / 0.8191 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1916, allocations: 70.16 kB / 0.8192 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1917, allocations: 3.938 kB / 0.8192 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1917, allocations: 0 / 0.8192 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1917, allocations: 0 / 0.8192 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1919, allocations: 47.94 kB / 0.8193 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1923, allocations: 280.7 kB / 0.8195 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.1926, allocations: 66.47 kB / 0.8196 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.1927, allocations: 16.91 kB / 0.8196 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.1931, allocations: 405.5 kB / 0.82 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1931, allocations: 30.56 kB / 0.82 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1931, allocations: 0 / 0.82 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003746/0.1935, allocations: 109.5 kB / 0.8201 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1935, allocations: 59.28 kB / 0.8202 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.1936, allocations: 105.8 kB / 0.8203 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1936, allocations: 25.7 kB / 0.8203 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1937, allocations: 88.14 kB / 0.8204 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1937, allocations: 8.016 kB / 0.8204 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1937, allocations: 21.72 kB / 0.8204 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1938, allocations: 318.8 kB / 0.8207 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.1939, allocations: 19.98 kB / 0.8207 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.194, allocations: 23.97 kB / 0.8208 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1942, allocations: 36.83 kB / 0.8208 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1942, allocations: 0 / 0.8208 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.1944, allocations: 89.58 kB / 0.8209 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1944, allocations: 4 kB / 0.8209 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1944, allocations: 4 kB / 0.8209 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1944, allocations: 0 / 0.8209 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.1945, allocations: 11.98 kB / 0.8209 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1945, allocations: 0 / 0.8209 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.1945, allocations: 7.953 kB / 0.8209 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1946, allocations: 0 / 0.8209 GB, free: 0.8477 MB / 0.5606 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 8.99e-05/0.1946, allocations: 125.8 kB / 0.821 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1947, allocations: 0 / 0.821 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.1949, allocations: 81.55 kB / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1949, allocations: 0 / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1949, allocations: 3.938 kB / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1949, allocations: 0 / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1951, allocations: 169.6 kB / 0.8213 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1951, allocations: 4 kB / 0.8213 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.1952, allocations: 11.98 kB / 0.8213 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1952, allocations: 384 / 0.8213 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1952, allocations: 0 / 0.8213 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1952, allocations: 0 / 0.8213 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1952, allocations: 4 kB / 0.8213 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1955, allocations: 187.4 kB / 0.8215 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1955, allocations: 81.05 kB / 0.8216 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1956, allocations: 3.938 kB / 0.8216 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.1956, allocations: 7.984 kB / 0.8216 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1957, allocations: 8 kB / 0.8216 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1957, allocations: 3.984 kB / 0.8216 GB, free: 64 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.1958, allocations: 83.28 kB / 0.8217 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1958, allocations: 3.938 kB / 0.8217 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002307/0.196, allocations: 12 kB / 0.8217 GB, free: 15.96 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: 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.0006772/0.1967, allocations: 0.714 MB / 0.8224 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1969, allocations: 47.95 kB / 0.8224 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1969, allocations: 4 kB / 0.8224 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.197, allocations: 27.91 kB / 0.8224 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1973, allocations: 4 kB / 0.8225 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1988, allocations: 1.276 MB / 0.8237 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1992, allocations: 0.6846 MB / 0.8244 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1992, allocations: 4 kB / 0.8244 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1992, allocations: 15.44 kB / 0.8244 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1992, allocations: 0 / 0.8244 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.222, allocations: 1.723 MB / 0.8261 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.263, allocations: 6.672 kB / 0.8261 GB, free: 11.44 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.38152221031487] Failed to read output from testmodel.py, exit status != 0: 8.331052233930677 8.356418025 8.161221615 Calling exit ...