Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 282.9 kB / 291.4 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 11.56 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.00134/0.1654, allocations: 1.086 MB / 0.6855 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1672, allocations: 1.241 MB / 0.6868 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.1673, allocations: 0 / 0.6868 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.215e-05/0.1674, allocations: 18.23 kB / 0.6868 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.1682, allocations: 387.6 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.967e-06/0.1682, allocations: 0 / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1684, allocations: 159.5 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.1684, allocations: 10.8 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1685, allocations: 59.75 kB / 0.6874 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1687, allocations: 87.72 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1687, allocations: 4 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.1694, allocations: 0.6083 MB / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.1695, allocations: 67.78 kB / 0.6881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1696, allocations: 45.58 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.1701, allocations: 491.5 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1701, allocations: 1.469 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1701, allocations: 0 / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1701, allocations: 0 / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005387/0.1706, allocations: 499.2 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1707, allocations: 14.19 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.1707, allocations: 11.81 kB / 0.6891 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1709, allocations: 212.8 kB / 0.6893 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.171, allocations: 7.984 kB / 0.6893 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.171, allocations: 4 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1713, allocations: 223.3 kB / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1713, allocations: 7.984 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1713, allocations: 7.547 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.1714, allocations: 51.89 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1717, allocations: 164.2 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.1725, allocations: 0.5444 MB / 0.6903 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1728, allocations: 88.53 kB / 0.6904 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.1729, allocations: 44.83 kB / 0.6904 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1729, allocations: 7.938 kB / 0.6904 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1729, allocations: 31.94 kB / 0.6905 GB, free: 9.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.1729, allocations: 0 / 0.6905 GB, free: 9.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003524/0.1733, allocations: 178.1 kB / 0.6906 GB, free: 9.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1733, allocations: 52.03 kB / 0.6907 GB, free: 8.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1736, allocations: 244 kB / 0.6909 GB, free: 8.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1736, allocations: 27.67 kB / 0.6909 GB, free: 8.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1737, allocations: 147.9 kB / 0.6911 GB, free: 8.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1737, allocations: 27.56 kB / 0.6911 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.1737, allocations: 0 / 0.6911 GB, free: 8.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1739, allocations: 338.8 kB / 0.6914 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.174, allocations: 51.91 kB / 0.6915 GB, free: 8.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.1741, allocations: 83 kB / 0.6916 GB, free: 8.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.1742, allocations: 59.95 kB / 0.6916 GB, free: 7.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1742, allocations: 4 kB / 0.6916 GB, free: 7.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002574/0.1744, allocations: 173.3 kB / 0.6918 GB, free: 7.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1745, allocations: 7.984 kB / 0.6918 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1745, allocations: 0 / 0.6918 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1745, allocations: 4 kB / 0.6918 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1747, allocations: 23.92 kB / 0.6918 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1747, allocations: 0 / 0.6918 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.1748, allocations: 27.69 kB / 0.6919 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1748, allocations: 8 kB / 0.6919 GB, free: 7.695 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * Array equations: 1 * Algorithm blocks: 0 * 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.0001127/0.1749, allocations: 138.5 kB / 0.692 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.175, allocations: 23.8 kB / 0.692 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.1753, allocations: 174.9 kB / 0.6922 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.1753, allocations: 11.98 kB / 0.6922 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1754, allocations: 4.062 kB / 0.6922 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1754, allocations: 4 kB / 0.6922 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.1757, allocations: 241.4 kB / 0.6924 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1757, allocations: 3.984 kB / 0.6924 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1758, allocations: 12 kB / 0.6924 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1758, allocations: 0 / 0.6924 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1758, allocations: 8 kB / 0.6925 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1758, allocations: 0 / 0.6925 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1758, allocations: 320 / 0.6925 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1761, allocations: 259.1 kB / 0.6927 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.1762, allocations: 92.92 kB / 0.6928 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1762, allocations: 0 / 0.6928 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1763, allocations: 8 kB / 0.6928 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1763, allocations: 8.172 kB / 0.6928 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1764, allocations: 4 kB / 0.6928 GB, free: 6.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1765, allocations: 192.9 kB / 0.693 GB, free: 6.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1765, allocations: 4 kB / 0.693 GB, free: 6.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006542/0.1772, allocations: 215.8 kB / 0.6932 GB, free: 6.219 MB / 494.1 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0005321/0.1777, allocations: 251.1 kB / 0.6934 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1781, allocations: 123.8 kB / 0.6936 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1781, allocations: 4 kB / 0.6936 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1782, allocations: 67.94 kB / 0.6936 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1785, allocations: 13.38 kB / 0.6936 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.1791, allocations: 414.7 kB / 0.694 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1795, allocations: 0.7477 MB / 0.6948 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1796, allocations: 41.41 kB / 0.6948 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.1797, allocations: 23.42 kB / 0.6948 GB, free: 4.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1797, allocations: 0 / 0.6948 GB, free: 4.492 MB / 494.1 MB Notification: Performance of Templates: time 0.007251/0.1869, allocations: 3.946 MB / 0.6987 GB, free: 0.5781 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)