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.00156/0.00156, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001691/0.001691, allocations: 208.4 kB / 23 MB, free: 4.57 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.002547/0.002547, allocations: 289.3 kB / 313.5 MB, free: 2.832 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 12.9 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.002877/0.002877, allocations: 107.1 kB / 0.7408 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.153, allocations: 95.38 MB / 0.834 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002506/0.1555, allocations: 1.358 MB / 0.8353 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1573, allocations: 1.133 MB / 0.8364 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.1574, allocations: 4 kB / 0.8364 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.1575, allocations: 15.91 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.1587, allocations: 0.5114 MB / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.412e-05/0.1587, allocations: 3.938 kB / 0.8369 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1589, allocations: 95.77 kB / 0.837 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1589, allocations: 8.188 kB / 0.837 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.159, allocations: 51.81 kB / 0.8371 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1591, allocations: 55.81 kB / 0.8371 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1591, allocations: 4 kB / 0.8371 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.16, allocations: 0.6746 MB / 0.8378 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.1601, allocations: 75.75 kB / 0.8378 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.1602, allocations: 67.36 kB / 0.8379 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.1609, allocations: 0.6074 MB / 0.8385 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1609, allocations: 4 kB / 0.8385 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1609, allocations: 0 / 0.8385 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.1609, allocations: 0 / 0.8385 GB, free: 3.477 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.0006215/0.1615, allocations: 0.4903 MB / 0.839 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1616, allocations: 8.75 kB / 0.839 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.1616, allocations: 24.75 kB / 0.839 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1619, allocations: 182 kB / 0.8392 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1619, allocations: 8.359 kB / 0.8392 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1619, allocations: 8.125 kB / 0.8392 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1623, allocations: 312.5 kB / 0.8395 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1623, allocations: 0 / 0.8395 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1623, allocations: 7.984 kB / 0.8395 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.1624, allocations: 79.92 kB / 0.8396 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1627, allocations: 248.3 kB / 0.8398 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.164, allocations: 0.5977 MB / 0.8404 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1643, allocations: 150.8 kB / 0.8406 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1644, allocations: 141.1 kB / 0.8407 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1644, allocations: 4 kB / 0.8407 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1645, allocations: 30.56 kB / 0.8407 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.1645, allocations: 0 / 0.8407 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.000796/0.1653, allocations: 0.5284 MB / 0.8412 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.1653, allocations: 93.09 kB / 0.8413 GB, free: 432 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.1656, allocations: 289.8 kB / 0.8416 GB, free: 136 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1657, allocations: 25.7 kB / 0.8416 GB, free: 104 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1658, allocations: 132.8 kB / 0.8418 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.1659, allocations: 122.9 kB / 0.8419 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1659, allocations: 33.7 kB / 0.8419 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1661, allocations: 338.8 kB / 0.8422 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1663, allocations: 135.9 kB / 0.8424 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1664, allocations: 135.9 kB / 0.8425 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.1668, allocations: 381.5 kB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1668, allocations: 0 / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004459/0.1673, allocations: 383.3 kB / 0.8432 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.1673, allocations: 29.7 kB / 0.8432 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1673, allocations: 11.98 kB / 0.8433 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1673, allocations: 0 / 0.8433 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.1674, allocations: 0 / 0.8433 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1674, allocations: 3.938 kB / 0.8433 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.1674, allocations: 27.73 kB / 0.8433 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1675, allocations: 19.94 kB / 0.8433 GB, free: 14.33 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.0001523/0.1676, allocations: 176.2 kB / 0.8435 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1677, allocations: 27.78 kB / 0.8435 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.1677, allocations: 22.97 kB / 0.8435 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.1678, allocations: 35.97 kB / 0.8436 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1678, allocations: 3.938 kB / 0.8436 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1678, allocations: 0 / 0.8436 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.1684, allocations: 272.4 kB / 0.8438 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1684, allocations: 0 / 0.8438 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.1684, allocations: 11.98 kB / 0.8438 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1684, allocations: 0 / 0.8438 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1684, allocations: 4 kB / 0.8438 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1684, allocations: 0 / 0.8438 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1684, allocations: 3.938 kB / 0.8438 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.169, allocations: 0.4947 MB / 0.8443 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.169, allocations: 31.69 kB / 0.8443 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1691, allocations: 4 kB / 0.8444 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.1691, allocations: 4 kB / 0.8444 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1692, allocations: 11.92 kB / 0.8444 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1692, allocations: 8 kB / 0.8444 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002179/0.1694, allocations: 213.2 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 0 / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004969/0.1699, allocations: 171.8 kB / 0.8447 GB, free: 12.77 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.0003971/0.1703, allocations: 210.9 kB / 0.8449 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.1708, allocations: 359.1 kB / 0.8453 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1708, allocations: 4 kB / 0.8453 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.171, allocations: 211.3 kB / 0.8455 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1712, allocations: 20.42 kB / 0.8455 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.1721, allocations: 0.6149 MB / 0.8461 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1725, allocations: 0.7715 MB / 0.8469 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.1726, allocations: 27.42 kB / 0.8469 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1726, allocations: 0 / 0.8469 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.006532/0.1791, allocations: 3.866 MB / 0.8507 GB, free: 6.605 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: 9.219758321065456] Failed to read output from testmodel.py, exit status != 0: 0.18605420901440084 0.200768249 0.036850318 Calling exit ...