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.001418/0.001418, allocations: 117.7 kB / 17.13 MB, free: 5.781 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.001454/0.001454, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.335/1.335, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.002257/0.002257, allocations: 280.6 kB / 303.6 MB, free: 3.746 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.004/1.004, allocations: 180.9 MB / 0.5268 GB, free: 2.73 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: 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: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 99.84 kB / 0.7259 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5284, allocations: 94.16 MB / 0.8179 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002261/0.5307, allocations: 1.548 MB / 0.8194 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.531, allocations: 137.5 kB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.531, allocations: 1.031 kB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.5311, allocations: 3.188 kB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.5311, allocations: 8.703 kB / 0.8195 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.5313, allocations: 31.3 kB / 0.8196 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.5314, allocations: 34.62 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.5315, allocations: 15.5 kB / 0.8196 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.5315, allocations: 20.36 kB / 0.8196 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.5315, allocations: 16.62 kB / 0.8196 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5316, allocations: 3.688 kB / 0.8196 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.5316, allocations: 18.69 kB / 0.8197 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.5316, allocations: 5.469 kB / 0.8197 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.5317, allocations: 23.77 kB / 0.8197 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.5318, allocations: 43.14 kB / 0.8197 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5318, allocations: 3.375 kB / 0.8197 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5318, allocations: 0 / 0.8197 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5318, allocations: 4 kB / 0.8197 GB, free: 6.168 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.0003793/0.5322, allocations: 355.9 kB / 0.8201 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5322, allocations: 8.844 kB / 0.8201 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.5322, allocations: 7.266 kB / 0.8201 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.234e-05/0.5323, allocations: 166.3 kB / 0.8203 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.5323, allocations: 2.344 kB / 0.8203 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5323, allocations: 2.625 kB / 0.8203 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5325, allocations: 65.28 kB / 0.8203 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5325, allocations: 1.062 kB / 0.8203 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5325, allocations: 3.938 kB / 0.8203 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5325, allocations: 0.9375 kB / 0.8203 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.5327, allocations: 49.33 kB / 0.8204 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.533, allocations: 279.3 kB / 0.8206 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.5333, allocations: 65.66 kB / 0.8207 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.5334, allocations: 26.12 kB / 0.8207 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.5335, allocations: 395.7 kB / 0.8211 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.5335, allocations: 35.03 kB / 0.8211 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5335, allocations: 0 / 0.8211 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000346/0.5339, allocations: 101 kB / 0.8212 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.5339, allocations: 51.41 kB / 0.8213 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.5339, allocations: 115.5 kB / 0.8214 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.534, allocations: 29.64 kB / 0.8214 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.534, allocations: 91.73 kB / 0.8215 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.534, allocations: 9.078 kB / 0.8215 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.534, allocations: 13.16 kB / 0.8215 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.5341, allocations: 327.2 kB / 0.8218 GB, free: 4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.5341, allocations: 13.88 kB / 0.8219 GB, free: 4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.5342, allocations: 21.84 kB / 0.8219 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5344, allocations: 49.95 kB / 0.8219 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5344, allocations: 0 / 0.8219 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001906/0.5346, allocations: 78.78 kB / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5346, allocations: 5.875 kB / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.5346, allocations: 0 / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5346, allocations: 1.344 kB / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.5347, allocations: 10.69 kB / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5347, allocations: 0 / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.5347, allocations: 19.05 kB / 0.822 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5347, allocations: 1.469 kB / 0.822 GB, free: 3.922 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 4.362e-05/0.5348, allocations: 116.3 kB / 0.8221 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.5348, allocations: 5.469 kB / 0.8221 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.535, allocations: 84.06 kB / 0.8222 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.535, allocations: 0.8125 kB / 0.8222 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.535, allocations: 0.8438 kB / 0.8222 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.535, allocations: 0.75 kB / 0.8222 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5352, allocations: 171.5 kB / 0.8224 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5352, allocations: 0 / 0.8224 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.5352, allocations: 14.86 kB / 0.8224 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5352, allocations: 1.312 kB / 0.8224 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5352, allocations: 0 / 0.8224 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.5352, allocations: 0 / 0.8224 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5352, allocations: 0.9375 kB / 0.8224 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.5354, allocations: 179.7 kB / 0.8226 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.5355, allocations: 82.67 kB / 0.8227 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5355, allocations: 0 / 0.8227 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.5356, allocations: 11.02 kB / 0.8227 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.5356, allocations: 13.69 kB / 0.8227 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.5356, allocations: 1.219 kB / 0.8227 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.5356, allocations: 93.48 kB / 0.8228 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5356, allocations: 0 / 0.8228 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002127/0.5358, allocations: 12.38 kB / 0.8228 GB, free: 3.195 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.0001212/0.536, allocations: 108.4 kB / 0.8229 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.5362, allocations: 47.3 kB / 0.8229 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5362, allocations: 0 / 0.8229 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.5363, allocations: 26.3 kB / 0.823 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5365, allocations: 11.92 kB / 0.823 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.5368, allocations: 143 kB / 0.8231 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.378e-05/0.5368, allocations: 0.6827 MB / 0.8238 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.5369, allocations: 11.89 kB / 0.8238 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5369, allocations: 0 / 0.8238 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.00243/0.5393, allocations: 0.8032 MB / 0.8246 GB, free: 2.168 MB / 0.5762 GB " [Timeout remaining time 659] 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.89183327392675] Failed to read output from testmodel.py, exit status != 0: 0.5461767658125609 0.557217022 0.022579337 Calling exit ...