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.8298/0.8298, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 188.1 kB / 187.3 MB, free: 11.88 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.449/1.449, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009291/0.000929, allocations: 99.69 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 268.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.116e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4692, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.6018, allocations: 110.2 MB / 0.8719 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.6021, allocations: 79.83 kB / 0.872 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.6157, allocations: 4.924 MB / 0.8768 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6158, allocations: 0 / 0.8768 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.6158, allocations: 8 kB / 0.8768 GB, free: 9.301 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.0006186/0.6164, allocations: 0.5398 MB / 0.8773 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6165, allocations: 8.031 kB / 0.8773 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.6165, allocations: 23.62 kB / 0.8774 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6169, allocations: 242.7 kB / 0.8776 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6169, allocations: 15.88 kB / 0.8776 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.6169, allocations: 0 / 0.8776 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.6174, allocations: 308.8 kB / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6174, allocations: 0 / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.6174, allocations: 3.984 kB / 0.8779 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.6175, allocations: 51.97 kB / 0.878 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.6178, allocations: 232.4 kB / 0.8782 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.6196, allocations: 0.6297 MB / 0.8788 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.6198, allocations: 182.7 kB / 0.879 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.62, allocations: 177.1 kB / 0.8791 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.6201, allocations: 4 kB / 0.8791 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6201, allocations: 34.5 kB / 0.8792 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.6201, allocations: 0 / 0.8792 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005879/0.6207, allocations: 391.8 kB / 0.8796 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.6208, allocations: 77.11 kB / 0.8796 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.6211, allocations: 258.9 kB / 0.8799 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.6211, allocations: 25.7 kB / 0.8799 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.6212, allocations: 140.8 kB / 0.88 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.6213, allocations: 110.3 kB / 0.8801 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-06/0.6213, allocations: 4 kB / 0.8801 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6215, allocations: 342.8 kB / 0.8805 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.6216, allocations: 143.8 kB / 0.8806 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6218, allocations: 143.8 kB / 0.8807 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.622, allocations: 190 kB / 0.8809 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6221, allocations: 0 / 0.8809 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004725/0.6225, allocations: 388 kB / 0.8813 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.6226, allocations: 31.11 kB / 0.8813 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.6226, allocations: 4 kB / 0.8813 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6226, allocations: 0 / 0.8813 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.6227, allocations: 8 kB / 0.8813 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6227, allocations: 0 / 0.8813 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.6228, allocations: 23.59 kB / 0.8814 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.6228, allocations: 23.97 kB / 0.8814 GB, free: 4.367 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.44e-05/0.6229, allocations: 134.6 kB / 0.8815 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.623, allocations: 19.72 kB / 0.8815 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.623, allocations: 23.08 kB / 0.8816 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.6231, allocations: 20 kB / 0.8816 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.6231, allocations: 3.984 kB / 0.8816 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6231, allocations: 3.938 kB / 0.8816 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007557/0.6238, allocations: 309.2 kB / 0.8819 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6239, allocations: 0 / 0.8819 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.6239, allocations: 7.922 kB / 0.8819 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6239, allocations: 3.938 kB / 0.8819 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.6239, allocations: 4 kB / 0.8819 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6239, allocations: 4 kB / 0.8819 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6239, allocations: 0 / 0.8819 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.6245, allocations: 0.4978 MB / 0.8824 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.6246, allocations: 108.7 kB / 0.8825 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.6246, allocations: 0 / 0.8825 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.6247, allocations: 0 / 0.8825 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.6247, allocations: 11.98 kB / 0.8825 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.6248, allocations: 16 kB / 0.8825 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001996/0.625, allocations: 211.1 kB / 0.8827 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.625, allocations: 0 / 0.8827 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007111/0.6257, allocations: 203.7 kB / 0.8829 GB, free: 2.703 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.0004593/0.6262, allocations: 250.8 kB / 0.8831 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.6266, allocations: 371.2 kB / 0.8835 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6266, allocations: 0 / 0.8835 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.6269, allocations: 239.3 kB / 0.8837 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.627, allocations: 8.562 kB / 0.8837 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.6277, allocations: 485.2 kB / 0.8842 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.6281, allocations: 0.7874 MB / 0.885 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.81e-05/0.6282, allocations: 41.2 kB / 0.885 GB, free: 484 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.6283, allocations: 23.42 kB / 0.885 GB, free: 460 kB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.6283, allocations: 3.938 kB / 0.885 GB, free: 456 kB / 0.5417 GB Notification: Performance of Templates: time 0.006326/0.6346, allocations: 3.44 MB / 0.8884 GB, free: 13.01 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)