Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.001443/0.001443, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001751/0.001751, allocations: 218.4 kB / 22.25 MB, free: 4.852 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.789 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.002709/0.002709, allocations: 288.4 kB / 312.7 MB, free: 2.68 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.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") [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.00304/0.00304, allocations: 107.8 kB / 0.74 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.165, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002407/0.1674, allocations: 1.33 MB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1692, allocations: 1.013 MB / 0.8354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.1692, allocations: 7.938 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.1693, allocations: 15.91 kB / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.1705, allocations: 0.4919 MB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.649e-05/0.1705, allocations: 3.984 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1706, allocations: 103.7 kB / 0.836 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1707, allocations: 8.172 kB / 0.836 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.1708, allocations: 43.89 kB / 0.8361 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1709, allocations: 59.8 kB / 0.8361 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1709, allocations: 4 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.1718, allocations: 0.6239 MB / 0.8367 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1719, allocations: 79.69 kB / 0.8368 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.172, allocations: 55.48 kB / 0.8369 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.1727, allocations: 0.5997 MB / 0.8374 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1727, allocations: 0 / 0.8374 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1727, allocations: 4 kB / 0.8375 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1727, allocations: 3.938 kB / 0.8375 GB, free: 3.379 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007332/0.1735, allocations: 0.4981 MB / 0.8379 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1735, allocations: 12.75 kB / 0.838 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1736, allocations: 28.69 kB / 0.838 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1738, allocations: 170.1 kB / 0.8381 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1739, allocations: 8.359 kB / 0.8382 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1739, allocations: 4.125 kB / 0.8382 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.1743, allocations: 342.2 kB / 0.8385 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1743, allocations: 0 / 0.8385 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1743, allocations: 0 / 0.8385 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.1744, allocations: 87.92 kB / 0.8386 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.1748, allocations: 274.1 kB / 0.8388 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1761, allocations: 0.5126 MB / 0.8393 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1764, allocations: 180.4 kB / 0.8395 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1766, allocations: 166.8 kB / 0.8397 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1766, allocations: 0 / 0.8397 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1767, allocations: 34.56 kB / 0.8397 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.203e-06/0.1767, allocations: 0 / 0.8397 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008342/0.1775, allocations: 0.5787 MB / 0.8403 GB, free: 344 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.1776, allocations: 81.09 kB / 0.8403 GB, free: 244 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1778, allocations: 203.5 kB / 0.8405 GB, free: 28 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.1778, allocations: 25.7 kB / 0.8406 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1779, allocations: 144.8 kB / 0.8407 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.178, allocations: 111 kB / 0.8408 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.1781, allocations: 45.69 kB / 0.8408 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.1783, allocations: 342.7 kB / 0.8412 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.1785, allocations: 161.6 kB / 0.8413 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1787, allocations: 161.6 kB / 0.8415 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.1791, allocations: 377.5 kB / 0.8418 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1791, allocations: 0 / 0.8418 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000509/0.1796, allocations: 405.1 kB / 0.8422 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.1796, allocations: 41.69 kB / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1796, allocations: 0 / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1797, allocations: 0 / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.1797, allocations: 0 / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1797, allocations: 0 / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1797, allocations: 23.72 kB / 0.8423 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1798, allocations: 12 kB / 0.8423 GB, free: 14.14 MB / 0.5919 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.00017/0.1799, allocations: 180.1 kB / 0.8425 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.18, allocations: 15.91 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.18, allocations: 14.66 kB / 0.8425 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/0.1801, allocations: 43.97 kB / 0.8425 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1801, allocations: 3.938 kB / 0.8425 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1801, allocations: 4.078 kB / 0.8425 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.1807, allocations: 225 kB / 0.8428 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1807, allocations: 7.984 kB / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.1807, allocations: 0 / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1807, allocations: 0 / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1807, allocations: 7.984 kB / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1807, allocations: 0 / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1807, allocations: 0 / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.1813, allocations: 0.5119 MB / 0.8433 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1814, allocations: 31.67 kB / 0.8433 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1814, allocations: 7.984 kB / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.1814, allocations: 0 / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1815, allocations: 4 kB / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1815, allocations: 11.94 kB / 0.8433 GB, free: 13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001368/0.1816, allocations: 151.2 kB / 0.8435 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1816, allocations: 0 / 0.8435 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004894/0.1821, allocations: 183.6 kB / 0.8436 GB, free: 12.68 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.0004347/0.1826, allocations: 206.9 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.1831, allocations: 418.5 kB / 0.8442 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1831, allocations: 0 / 0.8442 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.1834, allocations: 240.9 kB / 0.8445 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1836, allocations: 6.578 kB / 0.8445 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.1845, allocations: 0.5954 MB / 0.8451 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.1847, allocations: 160.8 kB / 0.8452 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.639e-05/0.1847, allocations: 35.98 kB / 0.8453 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.1848, allocations: 19.42 kB / 0.8453 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.1848, allocations: 3.938 kB / 0.8453 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.007357/0.1922, allocations: 3.454 MB / 0.8486 GB, free: 7.469 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 32.119362303987145] Failed to read output from testmodel.py, exit status != 0: 0.1997503973543644 0.215688805 0.039776306000000004 Calling exit ...