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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 105.4 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 305.7 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.17/1.17, allocations: 178.5 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 91.84 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1646, allocations: 89.14 MB / 0.6942 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002526/0.1672, allocations: 1.331 MB / 0.6955 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1689, allocations: 1.078 MB / 0.6965 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.169, allocations: 0 / 0.6965 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.9e-05/0.169, allocations: 15.92 kB / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1701, allocations: 493.4 kB / 0.697 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 1.315e-05/0.1701, allocations: 3.938 kB / 0.697 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1703, allocations: 99.77 kB / 0.6971 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.1703, allocations: 4.188 kB / 0.6971 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.1704, allocations: 39.84 kB / 0.6971 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1705, allocations: 67.73 kB / 0.6972 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1706, allocations: 4 kB / 0.6972 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007421/0.1713, allocations: 0.5538 MB / 0.6977 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.1714, allocations: 71.81 kB / 0.6978 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.1715, allocations: 75.28 kB / 0.6979 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.1722, allocations: 0.5731 MB / 0.6984 GB, free: 11.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1722, allocations: 3.938 kB / 0.6984 GB, free: 11.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1722, allocations: 0 / 0.6984 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1722, allocations: 0 / 0.6984 GB, free: 11.63 MB / 0.545 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.0006799/0.1729, allocations: 0.5549 MB / 0.699 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.173, allocations: 12.02 kB / 0.699 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.173, allocations: 24.56 kB / 0.699 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1733, allocations: 232.3 kB / 0.6992 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1733, allocations: 8.375 kB / 0.6993 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1733, allocations: 12.06 kB / 0.6993 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1737, allocations: 312.9 kB / 0.6996 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1738, allocations: 0 / 0.6996 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1738, allocations: 0 / 0.6996 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.1739, allocations: 87.86 kB / 0.6996 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1742, allocations: 244.4 kB / 0.6999 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1756, allocations: 0.6298 MB / 0.7005 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1758, allocations: 182.7 kB / 0.7007 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.176, allocations: 165.1 kB / 0.7008 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.1761, allocations: 4 kB / 0.7008 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1761, allocations: 30.56 kB / 0.7009 GB, free: 8.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.382e-06/0.1761, allocations: 0 / 0.7009 GB, free: 8.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007567/0.1769, allocations: 0.5361 MB / 0.7014 GB, free: 8.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1769, allocations: 81.11 kB / 0.7015 GB, free: 8.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1772, allocations: 290.5 kB / 0.7017 GB, free: 8.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1773, allocations: 29.7 kB / 0.7018 GB, free: 8.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.1774, allocations: 124.8 kB / 0.7019 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1775, allocations: 118.3 kB / 0.702 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.1776, allocations: 37.64 kB / 0.702 GB, free: 7.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1777, allocations: 342.8 kB / 0.7024 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.1779, allocations: 135.9 kB / 0.7025 GB, free: 7.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1781, allocations: 135.9 kB / 0.7026 GB, free: 7.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1785, allocations: 377.5 kB / 0.703 GB, free: 6.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1785, allocations: 0 / 0.703 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004544/0.179, allocations: 387.2 kB / 0.7034 GB, free: 6.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.179, allocations: 29.7 kB / 0.7034 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.179, allocations: 4 kB / 0.7034 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.179, allocations: 0 / 0.7034 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.1791, allocations: 4 kB / 0.7034 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1791, allocations: 7.875 kB / 0.7034 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.1792, allocations: 23.69 kB / 0.7034 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1792, allocations: 15.98 kB / 0.7034 GB, free: 6.258 MB / 0.545 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.0001643/0.1794, allocations: 176 kB / 0.7036 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.1794, allocations: 23.62 kB / 0.7036 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.1795, allocations: 26.89 kB / 0.7036 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/0.1795, allocations: 43.91 kB / 0.7037 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1796, allocations: 3.938 kB / 0.7037 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1796, allocations: 0 / 0.7037 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.1802, allocations: 301.3 kB / 0.704 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1803, allocations: 4 kB / 0.704 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.1803, allocations: 0 / 0.704 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1803, allocations: 4 kB / 0.704 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1803, allocations: 0 / 0.704 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.1803, allocations: 7.984 kB / 0.704 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1803, allocations: 3.938 kB / 0.704 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.1808, allocations: 482.4 kB / 0.7045 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.1809, allocations: 112.7 kB / 0.7046 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.181, allocations: 4 kB / 0.7046 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.181, allocations: 0 / 0.7046 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1811, allocations: 12.11 kB / 0.7046 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1811, allocations: 12 kB / 0.7046 GB, free: 4.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000212/0.1813, allocations: 217.9 kB / 0.7048 GB, free: 4.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1813, allocations: 0 / 0.7048 GB, free: 4.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004797/0.1818, allocations: 167.9 kB / 0.705 GB, free: 4.578 MB / 0.545 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.0004299/0.1822, allocations: 211.2 kB / 0.7052 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.1828, allocations: 411.1 kB / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1828, allocations: 0 / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.183, allocations: 239.2 kB / 0.7058 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1833, allocations: 12.56 kB / 0.7058 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.1842, allocations: 0.6229 MB / 0.7064 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1846, allocations: 0.7793 MB / 0.7072 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.1847, allocations: 19.44 kB / 0.7072 GB, free: 2.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.1847, allocations: 0 / 0.7072 GB, free: 2.207 MB / 0.545 GB Notification: Performance of Templates: time 0.2584/0.4431, allocations: 3.843 MB / 0.7109 GB, free: 49.27 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (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)