Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.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.001423/0.001423, allocations: 105.1 kB / 18.99 MB, free: 2.617 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.001685/0.001685, allocations: 225.3 kB / 22.29 MB, free: 5.285 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.468/1.468, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.002749/0.002749, allocations: 294.6 kB / 312.7 MB, free: 2.645 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.242/1.242, allocations: 180.6 MB / 0.537 GB, free: 14.56 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.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") [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.003027/0.003027, allocations: 100.2 kB / 0.7401 GB, free: 27.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1689, allocations: 95.38 MB / 0.8332 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002453/0.1713, allocations: 1.384 MB / 0.8346 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1734, allocations: 1.215 MB / 0.8358 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.1735, allocations: 0 / 0.8358 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.226e-05/0.1736, allocations: 19.91 kB / 0.8358 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1749, allocations: 0.6087 MB / 0.8364 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.949e-05/0.175, allocations: 15.98 kB / 0.8364 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1752, allocations: 159.5 kB / 0.8365 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1753, allocations: 9.578 kB / 0.8365 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.1754, allocations: 71.81 kB / 0.8366 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1755, allocations: 103.6 kB / 0.8367 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1756, allocations: 8 kB / 0.8367 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1768, allocations: 0.8266 MB / 0.8375 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1769, allocations: 115.6 kB / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.177, allocations: 95.16 kB / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1781, allocations: 0.8449 MB / 0.8386 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1781, allocations: 4 kB / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1781, allocations: 0 / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.1781, allocations: 0 / 0.8386 GB, free: 2.273 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0008444/0.1789, allocations: 0.6066 MB / 0.8391 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.179, allocations: 16.73 kB / 0.8392 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.179, allocations: 32.66 kB / 0.8392 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1793, allocations: 199.3 kB / 0.8394 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1793, allocations: 4.375 kB / 0.8394 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1794, allocations: 12.36 kB / 0.8394 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.1802, allocations: 0.6398 MB / 0.84 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1802, allocations: 3.984 kB / 0.84 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1802, allocations: 11.98 kB / 0.84 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.1804, allocations: 136.8 kB / 0.8402 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.181, allocations: 0.5251 MB / 0.8407 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1832, allocations: 0.8487 MB / 0.8415 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1835, allocations: 272.2 kB / 0.8418 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.1838, allocations: 266.4 kB / 0.842 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1839, allocations: 0 / 0.842 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1839, allocations: 38.55 kB / 0.8421 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.182e-06/0.1839, allocations: 0 / 0.8421 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001204/0.1851, allocations: 0.919 MB / 0.843 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.1852, allocations: 93.09 kB / 0.843 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1854, allocations: 174.5 kB / 0.8432 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1854, allocations: 25.7 kB / 0.8432 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1855, allocations: 221.1 kB / 0.8435 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1857, allocations: 150.6 kB / 0.8436 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.1857, allocations: 49.69 kB / 0.8436 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1859, allocations: 338.8 kB / 0.844 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.1862, allocations: 262 kB / 0.8442 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1865, allocations: 308.5 kB / 0.8445 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.1872, allocations: 0.6722 MB / 0.8452 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1872, allocations: 0 / 0.8452 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008195/0.1881, allocations: 0.6919 MB / 0.8458 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.1881, allocations: 41.69 kB / 0.8459 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1881, allocations: 4 kB / 0.8459 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1881, allocations: 0 / 0.8459 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.1882, allocations: 11.98 kB / 0.8459 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1882, allocations: 12.06 kB / 0.8459 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.1883, allocations: 23.78 kB / 0.8459 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1883, allocations: 16 kB / 0.8459 GB, free: 10.39 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (7): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 1 * 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.0002149/0.1885, allocations: 216.9 kB / 0.8462 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.1886, allocations: 27.75 kB / 0.8462 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.1886, allocations: 18.98 kB / 0.8462 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.1886, allocations: 27.98 kB / 0.8462 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1886, allocations: 0 / 0.8462 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1886, allocations: 3.938 kB / 0.8462 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1897, allocations: 316.9 kB / 0.8465 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1897, allocations: 4 kB / 0.8465 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.1897, allocations: 7.938 kB / 0.8465 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1897, allocations: 0 / 0.8465 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1897, allocations: 4 kB / 0.8465 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1897, allocations: 0 / 0.8465 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1897, allocations: 0 / 0.8465 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/0.1905, allocations: 0.7462 MB / 0.8473 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.1906, allocations: 27.73 kB / 0.8473 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1906, allocations: 4 kB / 0.8473 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.1907, allocations: 0 / 0.8473 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.1907, allocations: 11.98 kB / 0.8473 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1907, allocations: 19.94 kB / 0.8473 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000118/0.1909, allocations: 140.3 kB / 0.8475 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1909, allocations: 0 / 0.8475 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000656/0.1915, allocations: 271.3 kB / 0.8477 GB, free: 8.492 MB / 0.5919 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): 1 * Array equations: 1 * Algorithm blocks: 1 * 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.000502/0.192, allocations: 238.8 kB / 0.848 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007728/0.1928, allocations: 0.6313 MB / 0.8486 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.1928, allocations: 4 kB / 0.8486 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.1932, allocations: 345.2 kB / 0.8489 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1934, allocations: 19.94 kB / 0.8489 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1946, allocations: 0.8929 MB / 0.8498 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1949, allocations: 235.2 kB / 0.85 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.195, allocations: 43.98 kB / 0.8501 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.1951, allocations: 23.42 kB / 0.8501 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.1951, allocations: 0 / 0.8501 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.008798/0.2039, allocations: 4.38 MB / 0.8544 GB, free: 1.637 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 399.48985571879894] Failed to read output from testmodel.py, exit status != 0: 0.21127465879544616 0.22750734299999995 0.046216095000000006 Calling exit ...