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.00152/0.00152, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001553/0.001553, allocations: 194.6 kB / 16.14 MB, free: 6.594 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 278.4 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 86.2 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1597, allocations: 86.99 MB / 0.6794 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002719/0.1624, allocations: 1.437 MB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.1652, allocations: 1.424 MB / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.1653, allocations: 0 / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1654, allocations: 10.83 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1667, allocations: 403.6 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.359e-05/0.1667, allocations: 4 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1669, allocations: 191.5 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.1669, allocations: 7.984 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1671, allocations: 63.75 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1672, allocations: 85.28 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1673, allocations: 4 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.1681, allocations: 0.6473 MB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.1682, allocations: 67.8 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.1683, allocations: 68.06 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.169, allocations: 0.6667 MB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.169, allocations: 4.875 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.169, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.169, allocations: 0.7188 kB / 0.6844 GB, free: 12.07 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.0006078/0.1696, allocations: 0.5072 MB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1697, allocations: 8.031 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.1698, allocations: 22.2 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.17, allocations: 204 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.17, allocations: 12.3 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.17, allocations: 8.969 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1704, allocations: 231 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1704, allocations: 0 / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1704, allocations: 3.984 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/0.1705, allocations: 55.95 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1707, allocations: 168.2 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.1717, allocations: 0.5437 MB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1719, allocations: 82.59 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.172, allocations: 44.83 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.172, allocations: 4 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1721, allocations: 42.48 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1721, allocations: 0 / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004018/0.1725, allocations: 181.2 kB / 0.6864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1726, allocations: 51.41 kB / 0.6865 GB, free: 9.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1728, allocations: 248 kB / 0.6867 GB, free: 9.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1728, allocations: 25.7 kB / 0.6867 GB, free: 9.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.173, allocations: 144 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.173, allocations: 27.64 kB / 0.6869 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.1731, allocations: 37.61 kB / 0.6869 GB, free: 9.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1732, allocations: 326.8 kB / 0.6873 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1733, allocations: 51.95 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1734, allocations: 80.25 kB / 0.6874 GB, free: 8.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1736, allocations: 140.2 kB / 0.6875 GB, free: 8.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1736, allocations: 3.938 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002737/0.1739, allocations: 185.2 kB / 0.6877 GB, free: 8.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1739, allocations: 8 kB / 0.6877 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1739, allocations: 0 / 0.6877 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.174, allocations: 7.984 kB / 0.6877 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1742, allocations: 15.98 kB / 0.6877 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1742, allocations: 4 kB / 0.6877 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1743, allocations: 19.91 kB / 0.6877 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1743, allocations: 12 kB / 0.6878 GB, free: 8.367 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.1745, allocations: 146.3 kB / 0.6879 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.1745, allocations: 19.66 kB / 0.6879 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1748, allocations: 170.9 kB / 0.6881 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.1749, allocations: 4 kB / 0.6881 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1749, allocations: 4 kB / 0.6881 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1749, allocations: 4 kB / 0.6881 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1752, allocations: 241.5 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1752, allocations: 0 / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1753, allocations: 19.88 kB / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1753, allocations: 0 / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1753, allocations: 3.984 kB / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1754, allocations: 4.312 kB / 0.6883 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1754, allocations: 0 / 0.6883 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1756, allocations: 255.2 kB / 0.6886 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1757, allocations: 92.86 kB / 0.6887 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1757, allocations: 0 / 0.6887 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1759, allocations: 16.03 kB / 0.6887 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1759, allocations: 4 kB / 0.6887 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1759, allocations: 15.88 kB / 0.6887 GB, free: 7.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1761, allocations: 188.9 kB / 0.6889 GB, free: 7.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1761, allocations: 0 / 0.6889 GB, free: 7.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006084/0.1767, allocations: 216 kB / 0.6891 GB, free: 6.891 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.0004769/0.1772, allocations: 251 kB / 0.6893 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1775, allocations: 135.8 kB / 0.6895 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1775, allocations: 0 / 0.6895 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.1776, allocations: 67.89 kB / 0.6895 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1779, allocations: 16.61 kB / 0.6896 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.1785, allocations: 434.6 kB / 0.69 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1788, allocations: 0.7438 MB / 0.6907 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1789, allocations: 45.72 kB / 0.6907 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.179, allocations: 23.42 kB / 0.6908 GB, free: 5.137 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.179, allocations: 4 kB / 0.6908 GB, free: 5.133 MB / 494.1 MB Notification: Performance of Templates: time 0.007089/0.1861, allocations: 3.897 MB / 0.6946 GB, free: 1.266 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)