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.001278/0.001278, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00107/0.00107, allocations: 187.9 kB / 16.25 MB, free: 6.617 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002082, allocations: 290.8 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9477/0.9477, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 91.73 kB / 0.5947 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1384, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002197/0.1407, allocations: 1.438 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1424, allocations: 1.34 MB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.1425, allocations: 4.875 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.1426, allocations: 11.86 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.1437, allocations: 0.5375 MB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.025e-06/0.1437, allocations: 0.625 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1438, allocations: 129.1 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1439, allocations: 7.984 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.144, allocations: 63.75 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1441, allocations: 91.64 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1442, allocations: 4.5 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007294/0.1449, allocations: 0.7059 MB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.145, allocations: 63.88 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.145, allocations: 71.41 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.1457, allocations: 0.6864 MB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1457, allocations: 0 / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1457, allocations: 0 / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1457, allocations: 0 / 0.6847 GB, free: 11.93 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.000523/0.1463, allocations: 0.5221 MB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1463, allocations: 12.03 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1463, allocations: 16.75 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1465, allocations: 213.5 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1465, allocations: 8.359 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1466, allocations: 8.359 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1469, allocations: 231 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1469, allocations: 0 / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1469, allocations: 0 / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.147, allocations: 51.94 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.1472, allocations: 160.3 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.148, allocations: 0.5554 MB / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1483, allocations: 78.59 kB / 0.6865 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.1483, allocations: 52.77 kB / 0.6865 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1484, allocations: 4 kB / 0.6865 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1484, allocations: 42.44 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1484, allocations: 0 / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.00032/0.1487, allocations: 173.3 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1488, allocations: 59.41 kB / 0.6868 GB, free: 9.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.149, allocations: 240.1 kB / 0.687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.149, allocations: 25.7 kB / 0.687 GB, free: 9.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.1491, allocations: 147.9 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1491, allocations: 23.7 kB / 0.6872 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.1492, allocations: 41.59 kB / 0.6872 GB, free: 9.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1493, allocations: 330.8 kB / 0.6875 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.1494, allocations: 43.97 kB / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.1495, allocations: 90 kB / 0.6877 GB, free: 8.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1496, allocations: 140.2 kB / 0.6878 GB, free: 8.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1496, allocations: 0 / 0.6878 GB, free: 8.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002548/0.1499, allocations: 181.2 kB / 0.688 GB, free: 8.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1499, allocations: 4 kB / 0.688 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1499, allocations: 4.125 kB / 0.688 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.15, allocations: 4 kB / 0.688 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.1501, allocations: 19.98 kB / 0.688 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1502, allocations: 3.984 kB / 0.688 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.1503, allocations: 23.78 kB / 0.688 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1503, allocations: 8 kB / 0.688 GB, free: 8.211 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.000105/0.1504, allocations: 138.4 kB / 0.6882 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.1504, allocations: 23.66 kB / 0.6882 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.1507, allocations: 178.9 kB / 0.6884 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.1508, allocations: 7.984 kB / 0.6884 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1508, allocations: 3.938 kB / 0.6884 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1508, allocations: 0 / 0.6884 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1511, allocations: 241.5 kB / 0.6886 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1511, allocations: 3.938 kB / 0.6886 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1512, allocations: 15.92 kB / 0.6886 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1512, allocations: 4 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1512, allocations: 12.06 kB / 0.6886 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1512, allocations: 0 / 0.6886 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1513, allocations: 0 / 0.6886 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1515, allocations: 251.1 kB / 0.6889 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1516, allocations: 100.8 kB / 0.689 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1516, allocations: 0 / 0.689 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1517, allocations: 4 kB / 0.689 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.1517, allocations: 7.984 kB / 0.689 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1518, allocations: 12 kB / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1519, allocations: 185 kB / 0.6892 GB, free: 6.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1519, allocations: 4 kB / 0.6892 GB, free: 6.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000469/0.1524, allocations: 215.9 kB / 0.6894 GB, free: 6.73 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.0004466/0.1529, allocations: 243.1 kB / 0.6896 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1531, allocations: 147.7 kB / 0.6898 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1532, allocations: 256 / 0.6898 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1533, allocations: 67.95 kB / 0.6898 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1535, allocations: 16.66 kB / 0.6898 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.1541, allocations: 425.4 kB / 0.6903 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1543, allocations: 0.7512 MB / 0.691 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1544, allocations: 37.8 kB / 0.691 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1545, allocations: 23.42 kB / 0.691 GB, free: 4.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1545, allocations: 0 / 0.691 GB, free: 4.98 MB / 494.1 MB Notification: Performance of Templates: time 0.006357/0.1609, allocations: 3.968 MB / 0.6949 GB, free: 1.039 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)