Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.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.001549/0.001549, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001769/0.001769, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.002555/0.002555, allocations: 286.4 kB / 306.4 MB, free: 8.465 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.226/1.226, allocations: 180.9 MB / 0.5298 GB, free: 14.52 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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 105.7 kB / 0.7306 GB, free: 39.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1756, allocations: 94.15 MB / 0.8225 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002682/0.1783, allocations: 1.492 MB / 0.824 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1796, allocations: 0.7932 MB / 0.8247 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.1797, allocations: 3.938 kB / 0.8248 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1799, allocations: 139.7 kB / 0.8249 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.1805, allocations: 173.8 kB / 0.825 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1806, allocations: 75.8 kB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1808, allocations: 71.8 kB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.1809, allocations: 7.938 kB / 0.8252 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.1809, allocations: 43.88 kB / 0.8252 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1811, allocations: 87.83 kB / 0.8253 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1811, allocations: 4 kB / 0.8253 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.1815, allocations: 235.7 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1816, allocations: 103.7 kB / 0.8257 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.1817, allocations: 83.28 kB / 0.8257 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.1821, allocations: 322.7 kB / 0.826 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1822, allocations: 8 kB / 0.826 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1822, allocations: 0 / 0.826 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.1822, allocations: 0 / 0.826 GB, free: 14.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008608/0.183, allocations: 0.5794 MB / 0.8266 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1831, allocations: 8.031 kB / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1831, allocations: 28.75 kB / 0.8266 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1835, allocations: 378.6 kB / 0.827 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1836, allocations: 12.36 kB / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1836, allocations: 384 / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1838, allocations: 89.92 kB / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1838, allocations: 0 / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1838, allocations: 3.984 kB / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1838, allocations: 0 / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.184, allocations: 95.94 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.1847, allocations: 464.7 kB / 0.8276 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1849, allocations: 110.5 kB / 0.8277 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.185, allocations: 56.88 kB / 0.8278 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1851, allocations: 27.73 kB / 0.8278 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1851, allocations: 34.56 kB / 0.8279 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1851, allocations: 0 / 0.8279 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004773/0.1856, allocations: 213.3 kB / 0.8281 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1856, allocations: 55.41 kB / 0.8281 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.1862, allocations: 0.5327 MB / 0.8286 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1862, allocations: 25.7 kB / 0.8287 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1863, allocations: 156.1 kB / 0.8288 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1864, allocations: 15.88 kB / 0.8288 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.1864, allocations: 45.78 kB / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1866, allocations: 342.8 kB / 0.8292 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1868, allocations: 91.94 kB / 0.8293 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1869, allocations: 95.88 kB / 0.8294 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1872, allocations: 183.8 kB / 0.8296 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1872, allocations: 0 / 0.8296 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004191/0.1876, allocations: 265.4 kB / 0.8298 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1877, allocations: 8 kB / 0.8298 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1877, allocations: 3.984 kB / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1877, allocations: 0 / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1878, allocations: 31.92 kB / 0.8298 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1878, allocations: 0 / 0.8298 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.1879, allocations: 8 kB / 0.8299 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1879, allocations: 0 / 0.8299 GB, free: 10.63 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001477/0.1881, allocations: 181.7 kB / 0.83 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1881, allocations: 31.77 kB / 0.8301 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.1884, allocations: 167.7 kB / 0.8302 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1884, allocations: 0 / 0.8302 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1884, allocations: 4 kB / 0.8302 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1884, allocations: 0 / 0.8302 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1887, allocations: 281.5 kB / 0.8305 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1887, allocations: 4 kB / 0.8305 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.1888, allocations: 7.938 kB / 0.8305 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1888, allocations: 3.984 kB / 0.8305 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1888, allocations: 0 / 0.8305 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1888, allocations: 4 kB / 0.8305 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1888, allocations: 0 / 0.8305 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1891, allocations: 263.2 kB / 0.8308 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1892, allocations: 108.9 kB / 0.8309 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1893, allocations: 7.984 kB / 0.8309 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.1894, allocations: 7.938 kB / 0.8309 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1894, allocations: 7.984 kB / 0.8309 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1894, allocations: 0 / 0.8309 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004077/0.1898, allocations: 395.1 kB / 0.8313 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1898, allocations: 0 / 0.8313 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003682/0.1902, allocations: 83.95 kB / 0.8313 GB, free: 9.008 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002677/0.1904, allocations: 151.1 kB / 0.8315 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.1908, allocations: 159.8 kB / 0.8316 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1908, allocations: 0 / 0.8316 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1909, allocations: 51.97 kB / 0.8317 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1912, allocations: 31.89 kB / 0.8317 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.192, allocations: 0.5395 MB / 0.8322 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1924, allocations: 0.7788 MB / 0.833 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.1925, allocations: 30.53 kB / 0.833 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1925, allocations: 19.44 kB / 0.8331 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1925, allocations: 0 / 0.8331 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.006541/0.1991, allocations: 2.798 MB / 0.8358 GB, free: 4.391 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2737661129795015] Failed to read output from testmodel.py, exit status != 0: 0.20620157895609736 0.220554988 0.03545045 Calling exit ...