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.001404/0.001404, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001503/0.001503, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002652/0.002652, allocations: 279.9 kB / 313.5 MB, free: 2.609 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.263/1.263, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.003075/0.003075, allocations: 109.9 kB / 0.7407 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1757, allocations: 95.38 MB / 0.8339 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002888/0.1786, allocations: 1.393 MB / 0.8352 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1809, allocations: 1.211 MB / 0.8364 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.1809, allocations: 0 / 0.8364 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.181, allocations: 19.84 kB / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.1826, allocations: 0.6165 MB / 0.837 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.493e-05/0.1826, allocations: 4 kB / 0.837 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1829, allocations: 163.5 kB / 0.8372 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.183, allocations: 9.594 kB / 0.8372 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1831, allocations: 79.73 kB / 0.8373 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1832, allocations: 99.69 kB / 0.8374 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.1833, allocations: 8 kB / 0.8374 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.1845, allocations: 0.8227 MB / 0.8382 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1846, allocations: 115.6 kB / 0.8383 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1847, allocations: 99.14 kB / 0.8384 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.1857, allocations: 0.8449 MB / 0.8392 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1857, allocations: 0 / 0.8392 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1857, allocations: 0 / 0.8392 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1857, allocations: 4 kB / 0.8392 GB, free: 2.336 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.0007745/0.1865, allocations: 0.6105 MB / 0.8398 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1865, allocations: 12.75 kB / 0.8398 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1866, allocations: 40.59 kB / 0.8399 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1869, allocations: 186.6 kB / 0.84 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1869, allocations: 12.36 kB / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1869, allocations: 12.36 kB / 0.8401 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.1877, allocations: 0.6398 MB / 0.8407 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1877, allocations: 0 / 0.8407 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1877, allocations: 0 / 0.8407 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.1878, allocations: 136.9 kB / 0.8408 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.1885, allocations: 0.529 MB / 0.8413 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1905, allocations: 0.7901 MB / 0.8421 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1908, allocations: 268.2 kB / 0.8424 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.1911, allocations: 266.4 kB / 0.8426 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1911, allocations: 4 kB / 0.8426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1911, allocations: 30.56 kB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.1911, allocations: 0 / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001179/0.1923, allocations: 0.9268 MB / 0.8436 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1924, allocations: 81.11 kB / 0.8436 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1926, allocations: 182.4 kB / 0.8438 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1926, allocations: 37.62 kB / 0.8438 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1927, allocations: 213.1 kB / 0.844 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1929, allocations: 158.6 kB / 0.8442 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.1929, allocations: 45.7 kB / 0.8442 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1931, allocations: 334.8 kB / 0.8446 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.1934, allocations: 262 kB / 0.8448 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.1937, allocations: 308.5 kB / 0.8451 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.1944, allocations: 0.6761 MB / 0.8458 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1944, allocations: 0 / 0.8458 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007932/0.1952, allocations: 0.6958 MB / 0.8464 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.1952, allocations: 40.03 kB / 0.8465 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1952, allocations: 8 kB / 0.8465 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1953, allocations: 0 / 0.8465 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.1953, allocations: 11.94 kB / 0.8465 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1953, allocations: 0 / 0.8465 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.1954, allocations: 23.78 kB / 0.8465 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.1954, allocations: 28.11 kB / 0.8466 GB, free: 10.51 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.0002214/0.1957, allocations: 212.9 kB / 0.8468 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.1957, allocations: 27.75 kB / 0.8468 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.1957, allocations: 15 kB / 0.8468 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.1958, allocations: 31.97 kB / 0.8468 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1958, allocations: 0 / 0.8468 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1958, allocations: 0 / 0.8468 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.1967, allocations: 281 kB / 0.8471 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1967, allocations: 3.938 kB / 0.8471 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.1967, allocations: 7.938 kB / 0.8471 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1967, allocations: 7.984 kB / 0.8471 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1968, allocations: 4 kB / 0.8471 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1968, allocations: 0 / 0.8471 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1968, allocations: 3.938 kB / 0.8471 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.1976, allocations: 0.7386 MB / 0.8478 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.1976, allocations: 31.77 kB / 0.8479 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1976, allocations: 3.984 kB / 0.8479 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1977, allocations: 4 kB / 0.8479 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1977, allocations: 8 kB / 0.8479 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.1978, allocations: 15.98 kB / 0.8479 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001209/0.1979, allocations: 152.2 kB / 0.848 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1979, allocations: 4 kB / 0.8481 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006587/0.1985, allocations: 263.3 kB / 0.8483 GB, free: 8.645 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.0004857/0.199, allocations: 238.8 kB / 0.8485 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.1998, allocations: 0.6391 MB / 0.8492 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1998, allocations: 0 / 0.8492 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.2001, allocations: 348.9 kB / 0.8495 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2004, allocations: 12 kB / 0.8495 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2016, allocations: 0.9339 MB / 0.8504 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2019, allocations: 233.4 kB / 0.8506 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.2019, allocations: 19.44 kB / 0.8507 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.2019, allocations: 0 / 0.8507 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of Templates: time 0.007757/0.2097, allocations: 4.851 MB / 0.8554 GB, free: 1.273 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: 9.836826771963388] Failed to read output from testmodel.py, exit status != 0: 0.21717528626322746 0.231829786 0.043128376 Calling exit ...