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.8195/0.8195, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001092/0.001091, allocations: 188.2 kB / 182.2 MB, free: 9.434 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.378/1.378, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008604/0.0008606, allocations: 88.05 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 277.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.48e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4071, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5413, allocations: 109.6 MB / 0.8644 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5416, allocations: 79.83 kB / 0.8644 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.5549, allocations: 4.924 MB / 0.8693 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5549, allocations: 0 / 0.8693 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.555, allocations: 0 / 0.8693 GB, free: 13.28 MB / 0.5417 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.000576/0.5555, allocations: 0.5423 MB / 0.8698 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5556, allocations: 8.031 kB / 0.8698 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.5556, allocations: 23.62 kB / 0.8698 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.5559, allocations: 246.6 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.556, allocations: 3.953 kB / 0.8701 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.556, allocations: 4 kB / 0.8701 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002917/0.5563, allocations: 236.4 kB / 0.8703 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.5566, allocations: 296.9 kB / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5566, allocations: 0 / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5567, allocations: 0 / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/0.5568, allocations: 47.97 kB / 0.8706 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.5584, allocations: 0.5519 MB / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.5586, allocations: 182.7 kB / 0.8713 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5588, allocations: 173.1 kB / 0.8715 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.5588, allocations: 3.938 kB / 0.8715 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.5588, allocations: 34.56 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.5588, allocations: 4 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005199/0.5594, allocations: 358.1 kB / 0.8719 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.5594, allocations: 77.11 kB / 0.8719 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.5596, allocations: 177.8 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5596, allocations: 25.7 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.5597, allocations: 136.5 kB / 0.8723 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.5598, allocations: 114.3 kB / 0.8724 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.5598, allocations: 8 kB / 0.8724 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5599, allocations: 330.8 kB / 0.8727 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.56, allocations: 143.8 kB / 0.8728 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.5602, allocations: 135.9 kB / 0.873 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.5604, allocations: 172.5 kB / 0.8731 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5604, allocations: 0 / 0.8731 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004077/0.5608, allocations: 354 kB / 0.8735 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5609, allocations: 33.69 kB / 0.8735 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5609, allocations: 0 / 0.8735 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5609, allocations: 4 kB / 0.8735 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.561, allocations: 4 kB / 0.8735 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.561, allocations: 2.344 kB / 0.8735 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.561, allocations: 11.84 kB / 0.8735 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.561, allocations: 12 kB / 0.8735 GB, free: 8.668 MB / 0.5417 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 () * 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 8.639e-05/0.5611, allocations: 138.6 kB / 0.8737 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.5612, allocations: 19.72 kB / 0.8737 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.5612, allocations: 23.34 kB / 0.8737 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/0.5613, allocations: 19.98 kB / 0.8737 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5613, allocations: 4 kB / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5613, allocations: 3.938 kB / 0.8737 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.562, allocations: 261.9 kB / 0.874 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.562, allocations: 7.938 kB / 0.874 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.562, allocations: 0 / 0.874 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.562, allocations: 3.953 kB / 0.874 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.562, allocations: 4 kB / 0.874 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.562, allocations: 0 / 0.874 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5621, allocations: 0 / 0.874 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.5625, allocations: 476.2 kB / 0.8745 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5626, allocations: 97.05 kB / 0.8745 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.5626, allocations: 3.953 kB / 0.8745 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.5627, allocations: 0 / 0.8745 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.5627, allocations: 11.97 kB / 0.8746 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.5628, allocations: 16 kB / 0.8746 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.887e-05/0.5629, allocations: 143.2 kB / 0.8747 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5629, allocations: 0 / 0.8747 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006809/0.5636, allocations: 207.6 kB / 0.8749 GB, free: 7.176 MB / 0.5417 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 () * 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.0004232/0.564, allocations: 242.9 kB / 0.8751 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.5644, allocations: 375.2 kB / 0.8755 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5644, allocations: 0 / 0.8755 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.5646, allocations: 235.3 kB / 0.8757 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.5648, allocations: 4.188 kB / 0.8757 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.5655, allocations: 474 kB / 0.8762 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5658, allocations: 0.7834 MB / 0.8769 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.5658, allocations: 35.94 kB / 0.877 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.5659, allocations: 19.42 kB / 0.877 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5659, allocations: 0 / 0.877 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of Templates: time 0.00572/0.5716, allocations: 3.132 MB / 0.8801 GB, free: 1.824 MB / 0.5417 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)