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.8453/0.8453, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001336/0.001336, allocations: 177.1 kB / 191.5 MB, free: 5.762 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.455/1.455, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.001075/0.001075, allocations: 84.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001595/0.001595, allocations: 283 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004808, allocations: 15.81 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1506, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4942/0.6448, allocations: 110.3 MB / 0.8814 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6451, allocations: 81.12 kB / 0.8815 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.6587, allocations: 4.959 MB / 0.8864 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6588, allocations: 0 / 0.8864 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.6588, allocations: 6.938 kB / 0.8864 GB, free: 30.63 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.000561/0.6594, allocations: 0.563 MB / 0.8869 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6594, allocations: 8.031 kB / 0.8869 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.6595, allocations: 23.03 kB / 0.8869 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.6598, allocations: 249.1 kB / 0.8872 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6598, allocations: 10.86 kB / 0.8872 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.6598, allocations: 6.391 kB / 0.8872 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.6602, allocations: 302 kB / 0.8875 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6602, allocations: 4 kB / 0.8875 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.6602, allocations: 3.281 kB / 0.8875 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-05/0.6603, allocations: 44.16 kB / 0.8875 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.6606, allocations: 233.7 kB / 0.8878 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.6624, allocations: 0.6257 MB / 0.8884 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.6626, allocations: 188.9 kB / 0.8886 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.6626, allocations: 4 kB / 0.8886 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.6626, allocations: 34.59 kB / 0.8886 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.6627, allocations: 0 / 0.8886 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0007691/0.6634, allocations: 0.7198 MB / 0.8893 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.6635, allocations: 80.44 kB / 0.8894 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.6638, allocations: 260.5 kB / 0.8896 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6638, allocations: 28.52 kB / 0.8896 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.6639, allocations: 133.2 kB / 0.8898 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.6639, allocations: 111.6 kB / 0.8899 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.664, allocations: 6.203 kB / 0.8899 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.664, allocations: 347.2 kB / 0.8902 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6642, allocations: 136.7 kB / 0.8903 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.6644, allocations: 136.5 kB / 0.8905 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.6646, allocations: 190.5 kB / 0.8907 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6647, allocations: 3.938 kB / 0.8907 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005305/0.6652, allocations: 394.7 kB / 0.891 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.6652, allocations: 33.12 kB / 0.8911 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6652, allocations: 6.219 kB / 0.8911 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6653, allocations: 0 / 0.8911 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.6653, allocations: 2.781 kB / 0.8911 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6653, allocations: 0 / 0.8911 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.6654, allocations: 22.06 kB / 0.8911 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.6654, allocations: 15.77 kB / 0.8911 GB, free: 28.29 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 () * 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.0001235/0.6656, allocations: 188.7 kB / 0.8913 GB, free: 28.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.6656, allocations: 26.88 kB / 0.8913 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.6657, allocations: 26.98 kB / 0.8913 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/0.6657, allocations: 20.12 kB / 0.8914 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6657, allocations: 0 / 0.8914 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6657, allocations: 1.969 kB / 0.8914 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.6673, allocations: 302.1 kB / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6673, allocations: 3.281 kB / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.6673, allocations: 0 / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6673, allocations: 2.719 kB / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.6673, allocations: 4.516 kB / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6674, allocations: 1 kB / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6674, allocations: 0 / 0.8917 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.6679, allocations: 0.4951 MB / 0.8921 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.668, allocations: 111.7 kB / 0.8923 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.668, allocations: 3.875 kB / 0.8923 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.6681, allocations: 3.938 kB / 0.8923 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.6681, allocations: 7.547 kB / 0.8923 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6681, allocations: 20.53 kB / 0.8923 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001722/0.6683, allocations: 214.1 kB / 0.8925 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.82e-07/0.6683, allocations: 4 kB / 0.8925 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000755/0.6691, allocations: 205.3 kB / 0.8927 GB, free: 43.47 MB / 0.5573 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 (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.0004499/0.6695, allocations: 235.6 kB / 0.8929 GB, free: 43.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.6699, allocations: 381.1 kB / 0.8933 GB, free: 43.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.67, allocations: 0 / 0.8933 GB, free: 43.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.6702, allocations: 237.9 kB / 0.8935 GB, free: 43.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.6703, allocations: 10.41 kB / 0.8935 GB, free: 43.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.6713, allocations: 0.6392 MB / 0.8941 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.6717, allocations: 0.7807 MB / 0.8949 GB, free: 42.24 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.6718, allocations: 43.84 kB / 0.8949 GB, free: 42.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.6719, allocations: 24 kB / 0.895 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of SimCode: time 3.4e-07/0.6719, allocations: 0 / 0.895 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.007936/0.6798, allocations: 3.409 MB / 0.8983 GB, free: 42.04 MB / 0.5573 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)