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.00135/0.00135, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001475/0.001475, allocations: 190.6 kB / 22.98 MB, free: 5.062 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.551/1.551, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.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 1.026/1.026, allocations: 149.6 MB / 456.6 MB, free: 1.184 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: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.98 kB / 0.6328 GB, free: 8.938 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2072, allocations: 87.87 MB / 0.7187 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003379/0.2106, allocations: 1.542 MB / 0.7202 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.211, allocations: 139.5 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.2111, allocations: 0 / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.2111, allocations: 3.938 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.2112, allocations: 7.938 kB / 0.7203 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2115, allocations: 35.91 kB / 0.7203 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.2116, allocations: 27.92 kB / 0.7204 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2117, allocations: 23.91 kB / 0.7204 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.2117, allocations: 15.98 kB / 0.7204 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2118, allocations: 15.92 kB / 0.7204 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.2118, allocations: 4 kB / 0.7204 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.2119, allocations: 19.98 kB / 0.7204 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2119, allocations: 11.92 kB / 0.7205 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2119, allocations: 19.92 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.212, allocations: 43.81 kB / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2121, allocations: 4 kB / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2121, allocations: 0 / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2121, allocations: 0 / 0.7205 GB, free: 15.07 MB / 0.545 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.0005413/0.2126, allocations: 286.1 kB / 0.7208 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2126, allocations: 8.625 kB / 0.7208 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.2127, allocations: 4.938 kB / 0.7208 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2128, allocations: 110.4 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2128, allocations: 4.375 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2128, allocations: 4.375 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2131, allocations: 66.22 kB / 0.721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2131, allocations: 192 / 0.721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2131, allocations: 7.938 kB / 0.721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2131, allocations: 0 / 0.721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.2133, allocations: 43.94 kB / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.2138, allocations: 259.8 kB / 0.7213 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.2142, allocations: 54.52 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2143, allocations: 24.91 kB / 0.7214 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.2145, allocations: 23.98 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2145, allocations: 34.56 kB / 0.7214 GB, free: 14.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2145, allocations: 4 kB / 0.7214 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000459/0.2149, allocations: 97.56 kB / 0.7215 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.215, allocations: 51.41 kB / 0.7216 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2151, allocations: 109.8 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2151, allocations: 25.7 kB / 0.7217 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.2152, allocations: 92.11 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2152, allocations: 11.92 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.2152, allocations: 21.72 kB / 0.7218 GB, free: 13.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2154, allocations: 318.8 kB / 0.7221 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.2155, allocations: 19.97 kB / 0.7221 GB, free: 13.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.2156, allocations: 19.98 kB / 0.7222 GB, free: 13.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2158, allocations: 48.81 kB / 0.7222 GB, free: 13.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2158, allocations: 4 kB / 0.7222 GB, free: 13.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002339/0.216, allocations: 77.59 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.216, allocations: 4 kB / 0.7223 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.216, allocations: 0 / 0.7223 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2161, allocations: 3.938 kB / 0.7223 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.2161, allocations: 11.98 kB / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2161, allocations: 0 / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.2162, allocations: 7.984 kB / 0.7223 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2162, allocations: 4 kB / 0.7223 GB, free: 13.05 MB / 0.545 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 0.0001011/0.2163, allocations: 117.8 kB / 0.7224 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2163, allocations: 7.891 kB / 0.7224 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.2166, allocations: 89.58 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2166, allocations: 0 / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2166, allocations: 3.984 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2166, allocations: 0 / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2168, allocations: 140.7 kB / 0.7227 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2169, allocations: 4 kB / 0.7227 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.2169, allocations: 7.984 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2169, allocations: 4 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2169, allocations: 0 / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2169, allocations: 0 / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2169, allocations: 0 / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.2172, allocations: 183.8 kB / 0.7228 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.2173, allocations: 7.938 kB / 0.7228 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2173, allocations: 4 kB / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.2174, allocations: 4 kB / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.2175, allocations: 7.984 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.2175, allocations: 0 / 0.7229 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.2175, allocations: 91.27 kB / 0.723 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2175, allocations: 0 / 0.723 GB, free: 12.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002258/0.2177, allocations: 11.94 kB / 0.723 GB, free: 12.3 MB / 0.545 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.0001549/0.2179, allocations: 103.2 kB / 0.7231 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.2181, allocations: 43.95 kB / 0.7231 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2181, allocations: 0 / 0.7231 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2182, allocations: 27.91 kB / 0.7231 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2185, allocations: 9.656 kB / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.2188, allocations: 125.6 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2192, allocations: 0.6768 MB / 0.7239 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.2192, allocations: 8 kB / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2193, allocations: 15.38 kB / 0.7239 GB, free: 11.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2193, allocations: 0 / 0.7239 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003676/0.2229, allocations: 0.7735 MB / 0.7247 GB, free: 10.47 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.155556049197912] Failed to read output from testmodel.py, exit status != 0: 0.23288110177963972 0.24785884399999994 0.032412281 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3beee3d7b0>