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.001309/0.001309, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.001417/0.001417, allocations: 218.2 kB / 23.04 MB, free: 4.867 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.002558/0.002558, allocations: 289 kB / 313.5 MB, free: 2.57 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.3/1.3, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.002969/0.002969, allocations: 109.5 kB / 0.7408 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1672, allocations: 95.37 MB / 0.8339 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002563/0.1697, allocations: 1.4 MB / 0.8353 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1718, allocations: 1.203 MB / 0.8365 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1719, allocations: 3.938 kB / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.172, allocations: 15.91 kB / 0.8365 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1734, allocations: 0.6204 MB / 0.8371 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.391e-05/0.1734, allocations: 7.984 kB / 0.8371 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1736, allocations: 167.5 kB / 0.8373 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.1737, allocations: 5.594 kB / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.1738, allocations: 71.81 kB / 0.8373 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1739, allocations: 103.6 kB / 0.8374 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.174, allocations: 12 kB / 0.8375 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1751, allocations: 0.8226 MB / 0.8383 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1752, allocations: 115.6 kB / 0.8384 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1753, allocations: 99.16 kB / 0.8385 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009822/0.1763, allocations: 0.841 MB / 0.8393 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1763, allocations: 3.984 kB / 0.8393 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1763, allocations: 0 / 0.8393 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1763, allocations: 4 kB / 0.8393 GB, free: 2.238 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.0007915/0.1771, allocations: 0.6079 MB / 0.8399 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1772, allocations: 16.75 kB / 0.8399 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.1772, allocations: 36.66 kB / 0.8399 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1775, allocations: 195.3 kB / 0.8401 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1775, allocations: 8.359 kB / 0.8401 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1775, allocations: 12.36 kB / 0.8401 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.1783, allocations: 0.636 MB / 0.8408 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1783, allocations: 0 / 0.8408 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1783, allocations: 4 kB / 0.8408 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.1785, allocations: 136.9 kB / 0.8409 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.1792, allocations: 0.5251 MB / 0.8414 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1813, allocations: 0.8564 MB / 0.8423 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1816, allocations: 268.2 kB / 0.8425 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.1819, allocations: 270.4 kB / 0.8428 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1819, allocations: 0 / 0.8428 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1819, allocations: 30.56 kB / 0.8428 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.082e-06/0.1819, allocations: 0 / 0.8428 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001179/0.1831, allocations: 0.9229 MB / 0.8437 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1832, allocations: 85.09 kB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1833, allocations: 178.5 kB / 0.8439 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1834, allocations: 25.7 kB / 0.844 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1835, allocations: 233.1 kB / 0.8442 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1836, allocations: 146.6 kB / 0.8443 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.1837, allocations: 49.69 kB / 0.8444 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1839, allocations: 342.8 kB / 0.8447 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.1842, allocations: 254 kB / 0.845 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.1845, allocations: 312.5 kB / 0.8452 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.1852, allocations: 0.6722 MB / 0.8459 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1852, allocations: 0 / 0.8459 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000799/0.186, allocations: 0.6958 MB / 0.8466 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.186, allocations: 41.69 kB / 0.8466 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1861, allocations: 0 / 0.8466 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1861, allocations: 0 / 0.8466 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.1861, allocations: 12 kB / 0.8466 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1861, allocations: 4 kB / 0.8466 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.1862, allocations: 27.66 kB / 0.8467 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1862, allocations: 16 kB / 0.8467 GB, free: 10.36 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.0002287/0.1865, allocations: 221 kB / 0.8469 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1865, allocations: 27.75 kB / 0.8469 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.1865, allocations: 22.98 kB / 0.8469 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/0.1866, allocations: 24.08 kB / 0.847 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1866, allocations: 0 / 0.847 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1866, allocations: 3.984 kB / 0.847 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1876, allocations: 316.9 kB / 0.8473 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1876, allocations: 0 / 0.8473 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.1876, allocations: 7.938 kB / 0.8473 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1876, allocations: 0 / 0.8473 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1876, allocations: 7.938 kB / 0.8473 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1877, allocations: 7.984 kB / 0.8473 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1877, allocations: 0 / 0.8473 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.1885, allocations: 0.7462 MB / 0.848 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.1885, allocations: 23.73 kB / 0.848 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1885, allocations: 4 kB / 0.848 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1886, allocations: 4 kB / 0.8481 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1886, allocations: 7.984 kB / 0.8481 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1887, allocations: 12 kB / 0.8481 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001159/0.1888, allocations: 144.3 kB / 0.8482 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1888, allocations: 0 / 0.8482 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006577/0.1894, allocations: 267.3 kB / 0.8485 GB, free: 8.465 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.0005025/0.1899, allocations: 250.8 kB / 0.8487 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.1907, allocations: 0.6313 MB / 0.8493 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1907, allocations: 0 / 0.8493 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.1911, allocations: 348.9 kB / 0.8497 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1914, allocations: 14.19 kB / 0.8497 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1926, allocations: 0.8852 MB / 0.8505 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1928, allocations: 241.6 kB / 0.8508 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.193, allocations: 43.98 kB / 0.8508 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.193, allocations: 19.44 kB / 0.8508 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.193, allocations: 0 / 0.8508 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of Templates: time 0.008575/0.2016, allocations: 4.368 MB / 0.8551 GB, free: 1.617 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 391.3962551560253] Failed to read output from testmodel.py, exit status != 0: 0.2088622369337827 0.22492712299999995 0.04537544 Calling exit ...