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.001147/0.001151, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00823/0.00823, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 270.4 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 19.86 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001213/0.1528, allocations: 1.072 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1547, allocations: 1.383 MB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.1548, allocations: 0 / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.408e-05/0.1549, allocations: 15.86 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.1557, allocations: 384.2 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.466e-06/0.1557, allocations: 0 / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1559, allocations: 156.2 kB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.1559, allocations: 6.172 kB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.156, allocations: 51.75 kB / 0.6881 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1562, allocations: 67.73 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1562, allocations: 4 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007359/0.157, allocations: 0.6473 MB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.157, allocations: 56.47 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.1571, allocations: 85.23 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.1578, allocations: 0.6523 MB / 0.6896 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1578, allocations: 0 / 0.6896 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1578, allocations: 0 / 0.6896 GB, free: 10.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1578, allocations: 5.75 kB / 0.6896 GB, free: 10.46 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.0004972/0.1583, allocations: 483.1 kB / 0.69 GB, free: 9.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1584, allocations: 12.03 kB / 0.6901 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1584, allocations: 17.62 kB / 0.6901 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1586, allocations: 201.8 kB / 0.6903 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1586, allocations: 8.359 kB / 0.6903 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1586, allocations: 5 kB / 0.6903 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1589, allocations: 216 kB / 0.6905 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1589, allocations: 0 / 0.6905 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.159, allocations: 11.92 kB / 0.6905 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.159, allocations: 45.33 kB / 0.6905 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1593, allocations: 144.2 kB / 0.6907 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.16, allocations: 0.4961 MB / 0.6912 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1602, allocations: 82.59 kB / 0.6912 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.1603, allocations: 52.81 kB / 0.6913 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1603, allocations: 4 kB / 0.6913 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1603, allocations: 36.16 kB / 0.6913 GB, free: 8.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1603, allocations: 0 / 0.6913 GB, free: 8.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003233/0.1607, allocations: 181.3 kB / 0.6915 GB, free: 8.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1607, allocations: 59.88 kB / 0.6916 GB, free: 8.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1609, allocations: 244.5 kB / 0.6918 GB, free: 8.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1609, allocations: 29.7 kB / 0.6918 GB, free: 7.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.161, allocations: 120.2 kB / 0.6919 GB, free: 7.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1611, allocations: 31.55 kB / 0.692 GB, free: 7.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1611, allocations: 18.59 kB / 0.692 GB, free: 7.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1612, allocations: 335.5 kB / 0.6923 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.1613, allocations: 39.97 kB / 0.6923 GB, free: 7.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.977e-05/0.1614, allocations: 72.83 kB / 0.6924 GB, free: 7.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1616, allocations: 132.9 kB / 0.6925 GB, free: 7.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1616, allocations: 0 / 0.6925 GB, free: 7.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002233/0.1618, allocations: 165.3 kB / 0.6927 GB, free: 7.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1618, allocations: 4 kB / 0.6927 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1618, allocations: 4 kB / 0.6927 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1618, allocations: 0 / 0.6927 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.1619, allocations: 16.11 kB / 0.6927 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.162, allocations: 3.938 kB / 0.6927 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.162, allocations: 27.78 kB / 0.6928 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1621, allocations: 12 kB / 0.6928 GB, free: 6.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1622, allocations: 134.4 kB / 0.6929 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1622, allocations: 23.8 kB / 0.6929 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1625, allocations: 166.9 kB / 0.6931 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.1625, allocations: 7.984 kB / 0.6931 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1625, allocations: 3.938 kB / 0.6931 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1625, allocations: 0 / 0.6931 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1628, allocations: 233.6 kB / 0.6933 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1628, allocations: 0 / 0.6933 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.1629, allocations: 15.94 kB / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1629, allocations: 0 / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1629, allocations: 4 kB / 0.6933 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1629, allocations: 3.984 kB / 0.6933 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.163, allocations: 3.938 kB / 0.6933 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1632, allocations: 243.3 kB / 0.6936 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.1633, allocations: 108.8 kB / 0.6937 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1633, allocations: 4 kB / 0.6937 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1634, allocations: 0 / 0.6937 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.1634, allocations: 19.8 kB / 0.6937 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1634, allocations: 8 kB / 0.6937 GB, free: 5.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1636, allocations: 176.5 kB / 0.6939 GB, free: 5.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1636, allocations: 0 / 0.6939 GB, free: 5.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1641, allocations: 211.9 kB / 0.6941 GB, free: 5.539 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.1646, allocations: 245.2 kB / 0.6943 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1648, allocations: 131.8 kB / 0.6944 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1648, allocations: 0 / 0.6944 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.165, allocations: 79.88 kB / 0.6945 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1652, allocations: 12 kB / 0.6945 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.1657, allocations: 386.3 kB / 0.6949 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1661, allocations: 0.7399 MB / 0.6956 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1662, allocations: 41.06 kB / 0.6956 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1663, allocations: 15.44 kB / 0.6957 GB, free: 3.852 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1663, allocations: 3.938 kB / 0.6957 GB, free: 3.848 MB / 494.1 MB Notification: Performance of Templates: time 0.006426/0.1727, allocations: 3.724 MB / 0.6993 GB, free: 164 kB / 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)