Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 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.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 270.7 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9331/0.9331, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 13.12 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001346/0.1659, allocations: 1.062 MB / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1676, allocations: 1.225 MB / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1676, allocations: 0.7812 kB / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.887e-05/0.1677, allocations: 15.92 kB / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.1685, allocations: 380.4 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.375e-06/0.1685, allocations: 0.5625 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1687, allocations: 124.9 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.1687, allocations: 12.22 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1688, allocations: 43.84 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.169, allocations: 73.11 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.169, allocations: 4 kB / 0.6873 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.1697, allocations: 0.6083 MB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.1698, allocations: 55.81 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1698, allocations: 43.02 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1703, allocations: 479.5 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1704, allocations: 0 / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1704, allocations: 3.062 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1704, allocations: 0 / 0.6885 GB, free: 11.33 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005376/0.1709, allocations: 490.8 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.171, allocations: 8.031 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.171, allocations: 19.67 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1712, allocations: 200.8 kB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1713, allocations: 15.92 kB / 0.6892 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1713, allocations: 4.5 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1716, allocations: 212.8 kB / 0.6894 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1716, allocations: 0.5625 kB / 0.6894 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1716, allocations: 7.938 kB / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/0.1717, allocations: 49.17 kB / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1719, allocations: 140.2 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.1727, allocations: 0.4953 MB / 0.6901 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.173, allocations: 86.52 kB / 0.6901 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.1731, allocations: 57.52 kB / 0.6902 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1731, allocations: 1.188 kB / 0.6902 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1731, allocations: 36.28 kB / 0.6902 GB, free: 9.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1731, allocations: 0 / 0.6902 GB, free: 9.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000346/0.1735, allocations: 185.3 kB / 0.6904 GB, free: 9.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.1735, allocations: 51.41 kB / 0.6905 GB, free: 9.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1738, allocations: 235.6 kB / 0.6907 GB, free: 8.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1738, allocations: 25.7 kB / 0.6907 GB, free: 8.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.1739, allocations: 138.5 kB / 0.6908 GB, free: 8.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1739, allocations: 27.56 kB / 0.6909 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.1739, allocations: 0 / 0.6909 GB, free: 8.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.174, allocations: 330.8 kB / 0.6912 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1741, allocations: 39.97 kB / 0.6912 GB, free: 8.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.1742, allocations: 77.45 kB / 0.6913 GB, free: 8.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.1743, allocations: 60.61 kB / 0.6914 GB, free: 8.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1743, allocations: 3.953 kB / 0.6914 GB, free: 8.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002212/0.1745, allocations: 158.9 kB / 0.6915 GB, free: 8.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1746, allocations: 8 kB / 0.6915 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1746, allocations: 0.5625 kB / 0.6915 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1746, allocations: 0 / 0.6915 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1747, allocations: 25.17 kB / 0.6915 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1747, allocations: 384 / 0.6915 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1748, allocations: 19.78 kB / 0.6916 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1748, allocations: 4.812 kB / 0.6916 GB, free: 7.961 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001051/0.1749, allocations: 138.6 kB / 0.6917 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.175, allocations: 23.7 kB / 0.6917 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1752, allocations: 171 kB / 0.6919 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.1753, allocations: 7.984 kB / 0.6919 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1753, allocations: 0 / 0.6919 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1753, allocations: 0 / 0.6919 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.1756, allocations: 233.5 kB / 0.6921 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1756, allocations: 3.938 kB / 0.6921 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.1757, allocations: 19.95 kB / 0.6921 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1757, allocations: 0 / 0.6921 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1757, allocations: 4 kB / 0.6921 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1757, allocations: 3.984 kB / 0.6921 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1757, allocations: 0 / 0.6921 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.176, allocations: 247.2 kB / 0.6924 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.176, allocations: 100.8 kB / 0.6925 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1761, allocations: 7.953 kB / 0.6925 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.1762, allocations: 4 kB / 0.6925 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1762, allocations: 7.984 kB / 0.6925 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1762, allocations: 12.12 kB / 0.6925 GB, free: 6.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1764, allocations: 176.4 kB / 0.6927 GB, free: 6.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1764, allocations: 0 / 0.6927 GB, free: 6.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.1769, allocations: 208 kB / 0.6929 GB, free: 6.52 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.0004614/0.1774, allocations: 253 kB / 0.6931 GB, free: 6.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1776, allocations: 135.8 kB / 0.6932 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1776, allocations: 0 / 0.6932 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.1777, allocations: 71.94 kB / 0.6933 GB, free: 6.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.178, allocations: 12 kB / 0.6933 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1785, allocations: 374.1 kB / 0.6937 GB, free: 5.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1788, allocations: 0.7399 MB / 0.6944 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.179, allocations: 45.42 kB / 0.6944 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.179, allocations: 19.38 kB / 0.6945 GB, free: 4.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 0 / 0.6945 GB, free: 4.832 MB / 494.1 MB Notification: Performance of Templates: time 0.006785/0.1858, allocations: 3.776 MB / 0.6981 GB, free: 1.09 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)