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 1.057/1.057, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001091/0.001091, allocations: 176.8 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.526/1.526, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009675/0.0009674, allocations: 85.73 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 268.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.629e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5528, allocations: 109.6 MB / 0.8644 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.553, allocations: 83.83 kB / 0.8645 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.5664, allocations: 4.913 MB / 0.8693 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5664, allocations: 0 / 0.8693 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.5664, allocations: 4 kB / 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.0005584/0.567, allocations: 0.5345 MB / 0.8698 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.567, allocations: 8.031 kB / 0.8698 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.5671, allocations: 23.62 kB / 0.8698 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.5674, allocations: 246.6 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5674, allocations: 3.953 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.5675, allocations: 4 kB / 0.8701 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002937/0.5678, allocations: 240.4 kB / 0.8703 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.5682, allocations: 300.9 kB / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.5682, allocations: 0 / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.5682, allocations: 3.984 kB / 0.8706 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/0.5683, allocations: 43.97 kB / 0.8706 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.5699, allocations: 0.548 MB / 0.8712 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.5702, allocations: 186.7 kB / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5704, allocations: 173.1 kB / 0.8715 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.5704, allocations: 0 / 0.8715 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.5704, allocations: 34.56 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.192e-06/0.5704, allocations: 0 / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005392/0.571, allocations: 354.1 kB / 0.8719 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.571, allocations: 81.09 kB / 0.8719 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.5712, allocations: 181.8 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5712, allocations: 25.7 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.5713, allocations: 140.5 kB / 0.8723 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.5714, allocations: 114.3 kB / 0.8724 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5714, allocations: 0 / 0.8724 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5715, allocations: 330.8 kB / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5717, allocations: 147.7 kB / 0.8728 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.5718, allocations: 135.9 kB / 0.873 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.5721, allocations: 172.5 kB / 0.8731 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5721, allocations: 4 kB / 0.8731 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004249/0.5725, allocations: 354 kB / 0.8735 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5725, allocations: 33.69 kB / 0.8735 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5726, allocations: 3.938 kB / 0.8735 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5726, allocations: 0 / 0.8735 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.5726, allocations: 4 kB / 0.8735 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5726, allocations: 0 / 0.8735 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.5727, allocations: 11.84 kB / 0.8735 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.5727, allocations: 12 kB / 0.8735 GB, free: 8.664 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 9.217e-05/0.5728, allocations: 146.6 kB / 0.8737 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.5729, allocations: 19.72 kB / 0.8737 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.5729, allocations: 11.41 kB / 0.8737 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/0.5729, allocations: 23.98 kB / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.573, allocations: 0 / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.573, allocations: 0 / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.5737, allocations: 265.9 kB / 0.874 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5737, allocations: 0 / 0.874 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.5737, allocations: 3.984 kB / 0.874 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5737, allocations: 3.953 kB / 0.874 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.5737, allocations: 4 kB / 0.874 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5738, allocations: 4 kB / 0.874 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5738, allocations: 4 kB / 0.874 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.5743, allocations: 464.2 kB / 0.8744 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.5743, allocations: 100.8 kB / 0.8745 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.5744, allocations: 3.953 kB / 0.8745 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.5744, allocations: 0 / 0.8745 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5745, allocations: 15.97 kB / 0.8746 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.5745, allocations: 16 kB / 0.8746 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.5746, allocations: 143.2 kB / 0.8747 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5746, allocations: 0 / 0.8747 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006323/0.5752, allocations: 211.5 kB / 0.8749 GB, free: 7.172 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.0004307/0.5757, allocations: 234.9 kB / 0.8751 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.5761, allocations: 375.2 kB / 0.8755 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5761, allocations: 0 / 0.8755 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.5763, allocations: 239.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.0001665/0.5765, 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.0006107/0.5771, allocations: 475.8 kB / 0.8762 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5774, allocations: 0.7833 MB / 0.8769 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.375e-05/0.5775, allocations: 31.98 kB / 0.877 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.5776, allocations: 23.36 kB / 0.877 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5776, allocations: 0 / 0.877 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of Templates: time 0.005816/0.5834, allocations: 3.139 MB / 0.8801 GB, free: 1.82 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)