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.0008528/0.0008527, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008762/0.0008763, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 267.1 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9922/0.9922, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 12.28 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001296/0.1612, allocations: 1.029 MB / 0.6855 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1627, allocations: 1.008 MB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1628, allocations: 0 / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.1629, allocations: 15.92 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.1636, allocations: 289.2 kB / 0.6868 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.531e-05/0.1636, allocations: 4 kB / 0.6868 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1638, allocations: 118.7 kB / 0.6869 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.1638, allocations: 4.172 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.1639, allocations: 43.84 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.164, allocations: 67.75 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.164, allocations: 4 kB / 0.687 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.1646, allocations: 495.1 kB / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.1647, allocations: 71.8 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.1648, allocations: 45.58 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.1652, allocations: 404.1 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1652, allocations: 4.438 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1652, allocations: 0.5625 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1652, allocations: 0 / 0.688 GB, free: 11.87 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.0005445/0.1658, allocations: 0.5326 MB / 0.6885 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1658, allocations: 8.031 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1659, allocations: 28.88 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1661, allocations: 234.6 kB / 0.6887 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1661, allocations: 0 / 0.6887 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1662, allocations: 9.172 kB / 0.6888 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1665, allocations: 308.9 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1665, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1665, allocations: 0.5625 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1667, allocations: 89.11 kB / 0.6891 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1669, allocations: 244.4 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1682, allocations: 0.6285 MB / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1684, allocations: 174.8 kB / 0.6902 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1686, allocations: 177 kB / 0.6903 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1686, allocations: 0.75 kB / 0.6903 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1686, allocations: 31.22 kB / 0.6904 GB, free: 9.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.1686, allocations: 2.406 kB / 0.6904 GB, free: 9.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006711/0.1693, allocations: 0.5321 MB / 0.6909 GB, free: 8.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1693, allocations: 81.11 kB / 0.691 GB, free: 8.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1696, allocations: 286.6 kB / 0.6912 GB, free: 8.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1696, allocations: 25.7 kB / 0.6912 GB, free: 8.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1697, allocations: 134.8 kB / 0.6914 GB, free: 8.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.1698, allocations: 110.4 kB / 0.6915 GB, free: 8.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.1698, allocations: 4 kB / 0.6915 GB, free: 8.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1699, allocations: 338.8 kB / 0.6918 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1701, allocations: 135.9 kB / 0.6919 GB, free: 7.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1702, allocations: 130 kB / 0.6921 GB, free: 7.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1704, allocations: 193.7 kB / 0.6922 GB, free: 7.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1704, allocations: 0 / 0.6922 GB, free: 7.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004023/0.1708, allocations: 391.1 kB / 0.6926 GB, free: 6.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.1709, allocations: 29.7 kB / 0.6926 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1709, allocations: 0 / 0.6926 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1709, allocations: 0.875 kB / 0.6926 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.171, allocations: 11.89 kB / 0.6927 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.171, allocations: 0.6875 kB / 0.6927 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1711, allocations: 19.69 kB / 0.6927 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1711, allocations: 12.56 kB / 0.6927 GB, free: 6.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1712, allocations: 181.4 kB / 0.6929 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1713, allocations: 23.62 kB / 0.6929 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.1713, allocations: 23.77 kB / 0.6929 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/0.1714, allocations: 39.97 kB / 0.6929 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1714, allocations: 7.953 kB / 0.693 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1714, allocations: 0 / 0.693 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.172, allocations: 301.3 kB / 0.6932 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.172, allocations: 0 / 0.6932 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.172, allocations: 0 / 0.6932 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.172, allocations: 0 / 0.6932 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.172, allocations: 4 kB / 0.6932 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1721, allocations: 7.938 kB / 0.6933 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1721, allocations: 0 / 0.6933 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.1725, allocations: 0.4945 MB / 0.6937 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1726, allocations: 112.7 kB / 0.6938 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1726, allocations: 0 / 0.6938 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.1727, allocations: 4 kB / 0.6938 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.1727, allocations: 4 kB / 0.6939 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1728, allocations: 8 kB / 0.6939 GB, free: 5.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.173, allocations: 217.9 kB / 0.6941 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.173, allocations: 0 / 0.6941 GB, free: 5.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.1734, allocations: 175.8 kB / 0.6942 GB, free: 5.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/0.1738, allocations: 211.2 kB / 0.6944 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.1743, allocations: 383.1 kB / 0.6948 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1743, allocations: 4 kB / 0.6948 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.1745, allocations: 235.3 kB / 0.695 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1748, allocations: 8.562 kB / 0.695 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.1756, allocations: 0.6327 MB / 0.6957 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1759, allocations: 0.7754 MB / 0.6964 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.743e-05/0.176, allocations: 52.95 kB / 0.6965 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1761, allocations: 19.42 kB / 0.6965 GB, free: 2.723 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1761, allocations: 0 / 0.6965 GB, free: 2.723 MB / 494.1 MB Notification: Performance of Templates: time 0.006579/0.1827, allocations: 3.566 MB / 0.7 GB, free: 15.16 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)