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.001681/0.001681, allocations: 103.2 kB / 15.98 MB, free: 6.297 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.001774/0.001774, allocations: 195.9 kB / 16.91 MB, free: 6.145 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002589/0.002589, allocations: 294.9 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 178.5 MB / 0.5076 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 95.84 kB / 0.6066 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1714, allocations: 89.13 MB / 0.6936 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.003032/0.1745, allocations: 1.409 MB / 0.695 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1769, allocations: 1.332 MB / 0.6963 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.177, allocations: 0 / 0.6963 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1771, allocations: 11.92 kB / 0.6963 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1785, allocations: 0.5289 MB / 0.6968 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 1.076e-05/0.1785, allocations: 0 / 0.6968 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1787, allocations: 99.66 kB / 0.6969 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1787, allocations: 8.234 kB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1788, allocations: 51.81 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.179, allocations: 71.73 kB / 0.697 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.179, allocations: 4 kB / 0.6971 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.1799, allocations: 0.7175 MB / 0.6978 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.18, allocations: 59.86 kB / 0.6978 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1801, allocations: 55.55 kB / 0.6979 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.1807, allocations: 495.5 kB / 0.6983 GB, free: 11.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1807, allocations: 0 / 0.6983 GB, free: 11.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1807, allocations: 0 / 0.6983 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1807, allocations: 0 / 0.6983 GB, free: 11.63 MB / 0.545 GB 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.0006089/0.1813, allocations: 0.495 MB / 0.6988 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1813, allocations: 12.03 kB / 0.6988 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.1814, allocations: 24.64 kB / 0.6989 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1816, allocations: 198.3 kB / 0.699 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1816, allocations: 12.36 kB / 0.6991 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1817, allocations: 4.375 kB / 0.6991 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.182, allocations: 206.8 kB / 0.6993 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.182, allocations: 7.875 kB / 0.6993 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.182, allocations: 7.984 kB / 0.6993 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/0.1821, allocations: 43.95 kB / 0.6993 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1823, allocations: 144.2 kB / 0.6994 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.1832, allocations: 0.5081 MB / 0.6999 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1834, allocations: 78.59 kB / 0.7 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1835, allocations: 52.83 kB / 0.7001 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1835, allocations: 4 kB / 0.7001 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1836, allocations: 42.5 kB / 0.7001 GB, free: 9.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1836, allocations: 0 / 0.7001 GB, free: 9.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003706/0.184, allocations: 181.4 kB / 0.7003 GB, free: 9.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.184, allocations: 59.34 kB / 0.7003 GB, free: 9.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1843, allocations: 246.7 kB / 0.7006 GB, free: 9.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1843, allocations: 25.7 kB / 0.7006 GB, free: 9.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.1844, allocations: 128.1 kB / 0.7007 GB, free: 8.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1844, allocations: 31.55 kB / 0.7008 GB, free: 8.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.1845, allocations: 33.7 kB / 0.7008 GB, free: 8.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1846, allocations: 322.8 kB / 0.7011 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1847, allocations: 47.95 kB / 0.7011 GB, free: 8.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.1848, allocations: 71.67 kB / 0.7012 GB, free: 8.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.185, allocations: 131.3 kB / 0.7013 GB, free: 8.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.185, allocations: 0 / 0.7013 GB, free: 8.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002517/0.1853, allocations: 165.3 kB / 0.7015 GB, free: 8.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1853, allocations: 4 kB / 0.7015 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1853, allocations: 3.984 kB / 0.7015 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1854, allocations: 4 kB / 0.7015 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1855, allocations: 12.09 kB / 0.7015 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.1855, allocations: 11.92 kB / 0.7015 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.1856, allocations: 23.69 kB / 0.7016 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.1856, allocations: 11.98 kB / 0.7016 GB, free: 8.082 MB / 0.545 GB 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.0001249/0.1858, allocations: 145.4 kB / 0.7017 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.1858, allocations: 11.81 kB / 0.7017 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.1861, allocations: 167 kB / 0.7019 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.1861, allocations: 12 kB / 0.7019 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1862, allocations: 3.938 kB / 0.7019 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1862, allocations: 0 / 0.7019 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1865, allocations: 225.6 kB / 0.7021 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1865, allocations: 0 / 0.7021 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.1866, allocations: 19.92 kB / 0.7021 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1866, allocations: 0 / 0.7021 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1866, allocations: 0 / 0.7021 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1866, allocations: 0 / 0.7021 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1866, allocations: 3.938 kB / 0.7021 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1869, allocations: 259.2 kB / 0.7024 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.187, allocations: 96.86 kB / 0.7025 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.187, allocations: 3.938 kB / 0.7025 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.1871, allocations: 4.188 kB / 0.7025 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1872, allocations: 11.92 kB / 0.7025 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1872, allocations: 15.92 kB / 0.7025 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001601/0.1874, allocations: 167.2 kB / 0.7027 GB, free: 6.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1874, allocations: 0 / 0.7027 GB, free: 6.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005824/0.188, allocations: 219.9 kB / 0.7029 GB, free: 6.645 MB / 0.545 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 () * 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.0005085/0.1885, allocations: 239.1 kB / 0.7031 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.1888, allocations: 136 kB / 0.7032 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1888, allocations: 0 / 0.7032 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1889, allocations: 79.88 kB / 0.7033 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.1892, allocations: 14.53 kB / 0.7033 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.1898, allocations: 421 kB / 0.7037 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1902, allocations: 0.7435 MB / 0.7044 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1903, allocations: 19.44 kB / 0.7045 GB, free: 4.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.1903, allocations: 0 / 0.7045 GB, free: 4.949 MB / 0.545 GB Notification: Performance of Templates: time 0.006726/0.197, allocations: 3.835 MB / 0.7082 GB, free: 1.117 MB / 0.545 GB 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)