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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00185/0.001851, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002033, allocations: 279.2 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 86.97 kB / 0.5945 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1408, allocations: 87 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002374/0.1432, allocations: 1.378 MB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1452, allocations: 1.16 MB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.1452, allocations: 0 / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1453, allocations: 19.8 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007675/0.1461, allocations: 303.8 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.361e-05/0.1462, allocations: 0 / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1463, allocations: 131.7 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.1464, allocations: 4.188 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.1465, allocations: 43.78 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1466, allocations: 59.8 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1466, allocations: 8 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.1473, allocations: 0.5069 MB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1473, allocations: 71.83 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.1474, allocations: 83.27 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.148, allocations: 0.538 MB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.148, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.148, allocations: 4 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.148, allocations: 3.938 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB 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.0006219/0.1487, allocations: 0.5549 MB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1487, allocations: 8.031 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.1488, allocations: 24.56 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1491, allocations: 247.7 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1491, allocations: 4.375 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1491, allocations: 4.125 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.1495, allocations: 312.9 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1495, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1495, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.1497, allocations: 87.92 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.1499, allocations: 244.4 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1513, allocations: 0.622 MB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1515, allocations: 178.7 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1517, allocations: 169.1 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1517, allocations: 0 / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1517, allocations: 42.48 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.032e-06/0.1517, allocations: 0 / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007247/0.1525, allocations: 0.5366 MB / 0.6866 GB, free: 9.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1525, allocations: 77.11 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1528, allocations: 294.5 kB / 0.6869 GB, free: 9.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1528, allocations: 25.7 kB / 0.6869 GB, free: 9.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.1529, allocations: 128.8 kB / 0.6871 GB, free: 9.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.153, allocations: 114.3 kB / 0.6872 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1531, allocations: 33.7 kB / 0.6872 GB, free: 9.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1532, allocations: 346.8 kB / 0.6875 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1533, allocations: 135.9 kB / 0.6877 GB, free: 8.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.1535, allocations: 128.8 kB / 0.6878 GB, free: 8.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.1538, allocations: 384.6 kB / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1538, allocations: 4 kB / 0.6882 GB, free: 8.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003853/0.1542, allocations: 383.1 kB / 0.6885 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1543, allocations: 37.7 kB / 0.6886 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1543, allocations: 0 / 0.6886 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1543, allocations: 0 / 0.6886 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.745e-05/0.1543, allocations: 4 kB / 0.6886 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1543, allocations: 11.94 kB / 0.6886 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1544, allocations: 19.69 kB / 0.6886 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1544, allocations: 8.141 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB 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.0001361/0.1546, allocations: 184.8 kB / 0.6888 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.1546, allocations: 23.7 kB / 0.6888 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.1547, allocations: 22.95 kB / 0.6888 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.584e-05/0.1547, allocations: 35.97 kB / 0.6889 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1547, allocations: 7.938 kB / 0.6889 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1547, allocations: 0 / 0.6889 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.1554, allocations: 305.2 kB / 0.6892 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1554, allocations: 0 / 0.6892 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.1554, allocations: 3.938 kB / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1554, allocations: 0 / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1554, allocations: 4 kB / 0.6892 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1554, allocations: 0 / 0.6892 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1554, allocations: 3.938 kB / 0.6892 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1559, allocations: 498.3 kB / 0.6897 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.156, allocations: 112.6 kB / 0.6898 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.156, allocations: 8 kB / 0.6898 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.1561, allocations: 0 / 0.6898 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1561, allocations: 7.938 kB / 0.6898 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1561, allocations: 8 kB / 0.6898 GB, free: 6.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1563, allocations: 217.9 kB / 0.69 GB, free: 6.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1563, allocations: 0 / 0.69 GB, free: 6.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005273/0.1569, allocations: 172 kB / 0.6902 GB, free: 5.848 MB / 494.1 MB 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.0004169/0.1573, allocations: 215.2 kB / 0.6904 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.1577, allocations: 383.1 kB / 0.6907 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1577, allocations: 0 / 0.6907 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.158, allocations: 239.3 kB / 0.691 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1582, allocations: 9.312 kB / 0.691 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.159, allocations: 0.6644 MB / 0.6916 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1593, allocations: 0.7715 MB / 0.6924 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.211e-05/0.1594, allocations: 53 kB / 0.6924 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.1594, allocations: 15.44 kB / 0.6924 GB, free: 3.438 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1594, allocations: 0 / 0.6924 GB, free: 3.438 MB / 494.1 MB Notification: Performance of Templates: time 0.006198/0.1656, allocations: 3.567 MB / 0.6959 GB, free: 15.87 MB / 0.4981 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)