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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001694/0.001694, allocations: 199.2 kB / 16.14 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 274.4 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 88.09 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 86.98 MB / 0.6794 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002445/0.1464, allocations: 1.418 MB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1485, allocations: 1.417 MB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.1486, allocations: 4.594 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.887e-05/0.1487, allocations: 7.922 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.1496, allocations: 393.1 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.716e-06/0.1497, allocations: 0 / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1498, allocations: 151.6 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1499, allocations: 7.422 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.15, allocations: 51.77 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1501, allocations: 67.73 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1502, allocations: 4 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007891/0.151, allocations: 0.6473 MB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.151, allocations: 51.88 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1511, allocations: 55.55 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.1518, allocations: 0.659 MB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1519, allocations: 0.7812 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1519, allocations: 0 / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1519, allocations: 0.6875 kB / 0.6842 GB, free: 12.22 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.0005297/0.1524, allocations: 0.492 MB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1524, allocations: 8.031 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1525, allocations: 13.59 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1527, allocations: 212 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1527, allocations: 5.594 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1527, allocations: 8.359 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.153, allocations: 218.7 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.153, allocations: 4 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1531, allocations: 0 / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.1531, allocations: 51.95 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.1534, allocations: 140.2 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.1541, allocations: 0.4926 MB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1543, allocations: 86.59 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.1544, allocations: 60.75 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1545, allocations: 0 / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1545, allocations: 30.56 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1545, allocations: 3.938 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003535/0.1549, allocations: 193.2 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1549, allocations: 59.41 kB / 0.6862 GB, free: 9.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1551, allocations: 238.8 kB / 0.6865 GB, free: 9.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1551, allocations: 25.7 kB / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.1552, allocations: 128.2 kB / 0.6866 GB, free: 9.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1553, allocations: 31.55 kB / 0.6866 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.1553, allocations: 25.7 kB / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1554, allocations: 330.8 kB / 0.687 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.1555, allocations: 43.95 kB / 0.687 GB, free: 9.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.1556, allocations: 79.45 kB / 0.6871 GB, free: 9.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1558, allocations: 123.3 kB / 0.6872 GB, free: 8.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1558, allocations: 0 / 0.6872 GB, free: 8.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002603/0.1561, allocations: 169.4 kB / 0.6874 GB, free: 8.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1561, allocations: 5.25 kB / 0.6874 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1561, allocations: 4 kB / 0.6874 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1561, allocations: 0 / 0.6874 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1562, allocations: 16.36 kB / 0.6874 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1562, allocations: 7.922 kB / 0.6874 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.1563, allocations: 23.69 kB / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1564, allocations: 8 kB / 0.6874 GB, free: 8.691 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.0001001/0.1565, allocations: 142.3 kB / 0.6876 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1565, allocations: 19.84 kB / 0.6876 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1568, allocations: 166.9 kB / 0.6878 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.1568, allocations: 7.984 kB / 0.6878 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1568, allocations: 3.938 kB / 0.6878 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1568, allocations: 0 / 0.6878 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1571, allocations: 229.5 kB / 0.688 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1571, allocations: 0 / 0.688 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.1572, allocations: 15.98 kB / 0.688 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1572, allocations: 0 / 0.688 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1573, allocations: 8 kB / 0.688 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1573, allocations: 0 / 0.688 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1573, allocations: 3.938 kB / 0.688 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1575, allocations: 251.2 kB / 0.6883 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1576, allocations: 100.8 kB / 0.6884 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1576, allocations: 7.984 kB / 0.6884 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.1577, allocations: 3.938 kB / 0.6884 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.1578, allocations: 7.938 kB / 0.6884 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1578, allocations: 15.98 kB / 0.6884 GB, free: 7.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1579, allocations: 176.4 kB / 0.6886 GB, free: 7.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1579, allocations: 0 / 0.6886 GB, free: 7.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005349/0.1585, allocations: 207.9 kB / 0.6888 GB, free: 7.25 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.000477/0.159, allocations: 243.1 kB / 0.689 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1592, allocations: 127.8 kB / 0.6891 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1592, allocations: 8.188 kB / 0.6891 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1593, allocations: 75.88 kB / 0.6892 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1596, allocations: 15.98 kB / 0.6892 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.1601, allocations: 388.7 kB / 0.6896 GB, free: 6.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1604, allocations: 0.736 MB / 0.6903 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.1606, allocations: 45.38 kB / 0.6903 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1606, allocations: 19.44 kB / 0.6904 GB, free: 5.551 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1606, allocations: 0 / 0.6904 GB, free: 5.551 MB / 494.1 MB Notification: Performance of Templates: time 0.006582/0.1672, allocations: 3.742 MB / 0.694 GB, free: 1.848 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)