Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.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.001568/0.001568, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001971/0.001971, allocations: 185.6 kB / 22.85 MB, free: 5.648 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.443/1.443, allocations: 225.6 MB / 251.5 MB, free: 13.03 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.002462/0.002462, allocations: 284.7 kB / 307 MB, free: 8.348 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.218/1.218, allocations: 180.8 MB / 0.5304 GB, free: 14.59 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 102.7 kB / 0.7311 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.177, allocations: 94.2 MB / 0.8231 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002765/0.1797, allocations: 1.564 MB / 0.8246 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.1801, allocations: 112.5 kB / 0.8247 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.1801, allocations: 0 / 0.8247 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.1802, allocations: 7.922 kB / 0.8247 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.1803, allocations: 15.86 kB / 0.8248 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1805, allocations: 27.97 kB / 0.8248 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1806, allocations: 55.84 kB / 0.8248 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1808, allocations: 19.92 kB / 0.8249 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.1808, allocations: 27.91 kB / 0.8249 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.1809, allocations: 27.91 kB / 0.8249 GB, free: 0 / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1809, allocations: 4.047 kB / 0.8249 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.181, allocations: 15.94 kB / 0.8249 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.181, allocations: 15.92 kB / 0.8249 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.1811, allocations: 23.88 kB / 0.825 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1812, allocations: 63.72 kB / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1812, allocations: 0 / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1812, allocations: 4 kB / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1812, allocations: 0 / 0.825 GB, free: 15.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005751/0.1818, allocations: 311.9 kB / 0.8253 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1818, allocations: 11.97 kB / 0.8253 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1819, allocations: 12.92 kB / 0.8253 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1821, allocations: 122.5 kB / 0.8255 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1821, allocations: 4.375 kB / 0.8255 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1821, allocations: 4.375 kB / 0.8255 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1824, allocations: 90.2 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1824, allocations: 192 / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1824, allocations: 3.938 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1824, allocations: 0 / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.1827, allocations: 83.84 kB / 0.8256 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1833, allocations: 295.8 kB / 0.8259 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1835, allocations: 62.56 kB / 0.826 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1837, allocations: 40.91 kB / 0.826 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.1837, allocations: 4 kB / 0.826 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1837, allocations: 30.56 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1837, allocations: 0 / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005831/0.1843, allocations: 149.4 kB / 0.8262 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1844, allocations: 55.41 kB / 0.8263 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1845, allocations: 113.8 kB / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1845, allocations: 29.7 kB / 0.8264 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.1846, allocations: 92.09 kB / 0.8265 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1846, allocations: 7.891 kB / 0.8265 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.1846, allocations: 21.7 kB / 0.8265 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1848, allocations: 314.8 kB / 0.8268 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1849, allocations: 43.89 kB / 0.8268 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1851, allocations: 31.97 kB / 0.8269 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.1854, allocations: 81.03 kB / 0.827 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1854, allocations: 4 kB / 0.827 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003427/0.1857, allocations: 105.5 kB / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1857, allocations: 5.406 kB / 0.8271 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1857, allocations: 0 / 0.8271 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1857, allocations: 0 / 0.8271 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1859, allocations: 19.97 kB / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1859, allocations: 0 / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.186, allocations: 15.98 kB / 0.8271 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.186, allocations: 0 / 0.8271 GB, free: 13.57 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 (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.0001033/0.1861, allocations: 119.1 kB / 0.8272 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1861, allocations: 4 kB / 0.8272 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.1865, allocations: 121.5 kB / 0.8273 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1865, allocations: 7.938 kB / 0.8273 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1865, allocations: 0 / 0.8273 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1865, allocations: 0 / 0.8273 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1867, allocations: 160.6 kB / 0.8275 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1867, allocations: 0 / 0.8275 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1868, allocations: 15.98 kB / 0.8275 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1868, allocations: 0 / 0.8275 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1868, allocations: 3.984 kB / 0.8275 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1868, allocations: 0 / 0.8275 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1868, allocations: 4 kB / 0.8275 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.1872, allocations: 195.4 kB / 0.8277 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.1873, allocations: 15.94 kB / 0.8277 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1873, allocations: 0 / 0.8277 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1874, allocations: 15.98 kB / 0.8277 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1874, allocations: 4 kB / 0.8277 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1874, allocations: 3.984 kB / 0.8277 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.1875, allocations: 95.22 kB / 0.8278 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1875, allocations: 0 / 0.8278 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002248/0.1877, allocations: 11.94 kB / 0.8278 GB, free: 12.72 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 (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.0001605/0.1879, allocations: 107.1 kB / 0.8279 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.1883, allocations: 75.92 kB / 0.828 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1883, allocations: 4 kB / 0.828 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1884, allocations: 35.95 kB / 0.8281 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1887, allocations: 4 kB / 0.8281 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1891, allocations: 166.7 kB / 0.8282 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1895, allocations: 0.6885 MB / 0.8289 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.1895, allocations: 7.984 kB / 0.8289 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1895, allocations: 7.438 kB / 0.8289 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.1895, allocations: 0 / 0.8289 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.003439/0.193, allocations: 0.7867 MB / 0.8297 GB, free: 10.79 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.994565312052146] Failed to read output from testmodel.py, exit status != 0: 0.20089213806204498 0.21612793099999994 0.03187327999999994 Calling exit ...