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.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.00133/0.00133, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001419/0.001419, allocations: 211.3 kB / 23 MB, free: 4.57 MB / 14.72 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 1.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002458/0.002458, allocations: 284.4 kB / 313.5 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.211/1.211, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 106.4 kB / 0.7408 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2004, allocations: 95.37 MB / 0.834 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003331/0.2037, allocations: 1.58 MB / 0.8355 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.2042, allocations: 148.3 kB / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.2042, allocations: 0 / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.2043, allocations: 3.938 kB / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.2043, allocations: 0 / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2047, allocations: 27.91 kB / 0.8357 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.2048, allocations: 39.92 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2049, allocations: 15.97 kB / 0.8357 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.2049, allocations: 15.94 kB / 0.8357 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.205, allocations: 19.92 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.205, allocations: 4 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.2051, allocations: 27.95 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.2051, allocations: 8 kB / 0.8358 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.2051, allocations: 19.86 kB / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2053, allocations: 43.81 kB / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2053, allocations: 4 kB / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2053, allocations: 0 / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2053, allocations: 0 / 0.8359 GB, free: 6.156 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005787/0.2059, allocations: 278.2 kB / 0.8361 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2059, allocations: 17.33 kB / 0.8361 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.206, allocations: 0.9375 kB / 0.8361 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2061, allocations: 114.4 kB / 0.8362 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2061, allocations: 4.375 kB / 0.8363 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2061, allocations: 4.375 kB / 0.8363 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.2063, allocations: 63.89 kB / 0.8363 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2063, allocations: 192 / 0.8363 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2064, allocations: 7.938 kB / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2064, allocations: 4 kB / 0.8363 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2066, allocations: 47.89 kB / 0.8364 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.207, allocations: 243.9 kB / 0.8366 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.2074, allocations: 66.47 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2075, allocations: 28.84 kB / 0.8367 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.2076, allocations: 15.98 kB / 0.8367 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2077, allocations: 34.5 kB / 0.8367 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2077, allocations: 0 / 0.8367 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003989/0.2081, allocations: 101.6 kB / 0.8368 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2081, allocations: 55.41 kB / 0.8369 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.2082, allocations: 109.9 kB / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2082, allocations: 29.7 kB / 0.837 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.2083, allocations: 84.14 kB / 0.8371 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.2083, allocations: 3.953 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.2083, allocations: 21.7 kB / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2085, allocations: 314.8 kB / 0.8374 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.2086, allocations: 27.97 kB / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.2087, allocations: 19.98 kB / 0.8375 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2088, allocations: 48.75 kB / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2088, allocations: 0 / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002261/0.2091, allocations: 77.61 kB / 0.8376 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2091, allocations: 4 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2091, allocations: 12 kB / 0.8376 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2091, allocations: 0 / 0.8376 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.2092, allocations: 11.98 kB / 0.8376 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2092, allocations: 0 / 0.8376 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.2093, allocations: 11.92 kB / 0.8376 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2093, allocations: 0 / 0.8376 GB, free: 4.145 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: 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 9.374e-05/0.2093, allocations: 118.4 kB / 0.8378 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.2094, allocations: 0 / 0.8378 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2096, allocations: 89.64 kB / 0.8378 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2097, allocations: 0 / 0.8378 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2097, allocations: 0 / 0.8378 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2097, allocations: 0 / 0.8378 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2099, allocations: 144.6 kB / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2099, allocations: 0 / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.2099, allocations: 11.98 kB / 0.838 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2099, allocations: 0 / 0.838 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.21, allocations: 11.92 kB / 0.838 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.21, allocations: 0 / 0.838 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.21, allocations: 4.375 kB / 0.838 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.2102, allocations: 175.4 kB / 0.8382 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.2102, allocations: 0 / 0.8382 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2103, allocations: 0 / 0.8382 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2104, allocations: 15.98 kB / 0.8382 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.2104, allocations: 11.92 kB / 0.8382 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2104, allocations: 0 / 0.8382 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.2105, allocations: 91.58 kB / 0.8383 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2105, allocations: 0 / 0.8383 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000229/0.2107, allocations: 8 kB / 0.8383 GB, free: 3.395 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.0001754/0.2109, allocations: 95.25 kB / 0.8384 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.2111, allocations: 55.89 kB / 0.8384 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2111, allocations: 0 / 0.8384 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.2112, allocations: 23.97 kB / 0.8385 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2115, allocations: 8.172 kB / 0.8385 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.2119, allocations: 151.2 kB / 0.8386 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2123, allocations: 0.6807 MB / 0.8393 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.2123, allocations: 19.42 kB / 0.8393 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.2123, allocations: 0 / 0.8393 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.002812/0.2151, allocations: 0.8012 MB / 0.8401 GB, free: 1.5 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9859001180157065] Failed to read output from testmodel.py, exit status != 0: 0.22314049792475998 0.24072203799999994 0.03209543 Calling exit ...