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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7694/0.7694, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 186.7 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 99.75 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 286 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 83.86 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002648/0.3344, allocations: 1.392 MB / 0.7693 GB, free: 26.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3361, allocations: 1.161 MB / 0.7704 GB, free: 25.1 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3362, allocations: 7.938 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.3363, allocations: 15.92 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.337, allocations: 295.8 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.184e-05/0.337, allocations: 4 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3371, allocations: 131.7 kB / 0.7708 GB, free: 24.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.3372, allocations: 4.188 kB / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.3372, allocations: 39.78 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3373, allocations: 63.8 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3373, allocations: 8 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.3379, allocations: 0.5069 MB / 0.7714 GB, free: 24.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.338, allocations: 75.81 kB / 0.7715 GB, free: 23.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.338, allocations: 71.3 kB / 0.7716 GB, free: 23.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.3385, allocations: 0.5559 MB / 0.7721 GB, free: 23.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3385, allocations: 0 / 0.7721 GB, free: 23.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3385, allocations: 0 / 0.7721 GB, free: 23.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3385, allocations: 4 kB / 0.7721 GB, free: 23.33 MB / 458.7 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.0004732/0.339, allocations: 0.551 MB / 0.7727 GB, free: 22.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.339, allocations: 8.031 kB / 0.7727 GB, free: 22.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.3391, allocations: 28.56 kB / 0.7727 GB, free: 22.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3392, allocations: 236.3 kB / 0.7729 GB, free: 22.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3393, allocations: 4.312 kB / 0.7729 GB, free: 22.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3393, allocations: 8.125 kB / 0.7729 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3396, allocations: 312.9 kB / 0.7732 GB, free: 22.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3396, allocations: 0 / 0.7732 GB, free: 22.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3396, allocations: 3.984 kB / 0.7732 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.3397, allocations: 83.86 kB / 0.7733 GB, free: 22.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.3398, allocations: 252.4 kB / 0.7736 GB, free: 21.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3409, allocations: 0.6259 MB / 0.7742 GB, free: 21.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3411, allocations: 174.7 kB / 0.7743 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3412, allocations: 177 kB / 0.7745 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.3412, allocations: 0 / 0.7745 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3412, allocations: 34.56 kB / 0.7745 GB, free: 20.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.3412, allocations: 4 kB / 0.7745 GB, free: 20.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004969/0.3417, allocations: 0.5327 MB / 0.7751 GB, free: 20.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3418, allocations: 77.11 kB / 0.7751 GB, free: 20.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.342, allocations: 294.5 kB / 0.7754 GB, free: 19.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.342, allocations: 29.64 kB / 0.7754 GB, free: 19.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.342, allocations: 136.7 kB / 0.7756 GB, free: 19.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.3421, allocations: 110.3 kB / 0.7757 GB, free: 19.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.3421, allocations: 33.7 kB / 0.7757 GB, free: 19.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.3422, allocations: 346.8 kB / 0.776 GB, free: 19.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3423, allocations: 131.9 kB / 0.7762 GB, free: 18.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.3424, allocations: 131.9 kB / 0.7763 GB, free: 18.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3426, allocations: 377.5 kB / 0.7767 GB, free: 18.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3427, allocations: 0 / 0.7767 GB, free: 18.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002873/0.3429, allocations: 387.2 kB / 0.777 GB, free: 18.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.343, allocations: 35.27 kB / 0.7771 GB, free: 18.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.343, allocations: 144 / 0.7771 GB, free: 18.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.343, allocations: 0 / 0.7771 GB, free: 18.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.343, allocations: 15.91 kB / 0.7771 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3431, allocations: 7.938 kB / 0.7771 GB, free: 17.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.017e-05/0.3431, allocations: 19.69 kB / 0.7771 GB, free: 17.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3431, allocations: 8 kB / 0.7771 GB, free: 17.96 MB / 458.7 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 8.853e-05/0.3432, allocations: 180.8 kB / 0.7773 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3433, allocations: 27.62 kB / 0.7773 GB, free: 17.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.3433, allocations: 22.95 kB / 0.7773 GB, free: 17.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/0.3433, allocations: 39.91 kB / 0.7774 GB, free: 17.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3434, allocations: 3.938 kB / 0.7774 GB, free: 17.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3434, allocations: 8 kB / 0.7774 GB, free: 17.67 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3438, allocations: 293.3 kB / 0.7777 GB, free: 17.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3439, allocations: 4 kB / 0.7777 GB, free: 17.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.3439, allocations: 0 / 0.7777 GB, free: 17.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3439, allocations: 3.984 kB / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3439, allocations: 12 kB / 0.7777 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3439, allocations: 0 / 0.7777 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3439, allocations: 3.938 kB / 0.7777 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.3445, allocations: 1.258 MB / 0.7789 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.3445, allocations: 108.7 kB / 0.779 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3446, allocations: 4 kB / 0.779 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.3446, allocations: 0 / 0.779 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3447, allocations: 11.98 kB / 0.779 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3447, allocations: 11.94 kB / 0.779 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3448, allocations: 213.9 kB / 0.7792 GB, free: 15.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3448, allocations: 0 / 0.7792 GB, free: 15.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004743/0.3453, allocations: 172 kB / 0.7794 GB, free: 15.46 MB / 458.7 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.0003415/0.3457, allocations: 211.1 kB / 0.7796 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.346, allocations: 383.1 kB / 0.78 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.346, allocations: 0 / 0.78 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3461, allocations: 235.3 kB / 0.7802 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3464, allocations: 16.5 kB / 0.7802 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.3471, allocations: 0.8861 MB / 0.7811 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3473, allocations: 0.7908 MB / 0.7819 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.3473, allocations: 49.06 kB / 0.7819 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.3474, allocations: 19.44 kB / 0.7819 GB, free: 12.79 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3474, allocations: 4 kB / 0.7819 GB, free: 12.79 MB / 458.7 MB Notification: Performance of Templates: time 0.005343/0.3527, allocations: 3.612 MB / 0.7854 GB, free: 9.176 MB / 458.7 MB 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)