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.001014/0.001014, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.001041/0.001041, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 285.1 kB / 291 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 89.7 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 86.98 MB / 0.6803 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002221/0.157, allocations: 1.409 MB / 0.6816 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1588, allocations: 1.331 MB / 0.6829 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.1589, allocations: 3.938 kB / 0.683 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.454e-05/0.159, allocations: 15.92 kB / 0.683 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1601, allocations: 0.5251 MB / 0.6835 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.446e-06/0.1601, allocations: 4 kB / 0.6835 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1602, allocations: 103.7 kB / 0.6836 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1603, allocations: 8.172 kB / 0.6836 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.1603, allocations: 39.89 kB / 0.6836 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1605, allocations: 79.66 kB / 0.6837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1605, allocations: 8 kB / 0.6837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.1612, allocations: 0.702 MB / 0.6844 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.1613, allocations: 55.81 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1614, allocations: 67.52 kB / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.1619, allocations: 495.5 kB / 0.685 GB, free: 3.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1619, allocations: 8 kB / 0.685 GB, free: 3.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1619, allocations: 0 / 0.685 GB, free: 3.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1619, allocations: 0 / 0.685 GB, free: 3.656 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.0005081/0.1624, allocations: 494.9 kB / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1624, allocations: 12.03 kB / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1625, allocations: 12.75 kB / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1627, allocations: 210 kB / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1627, allocations: 4.375 kB / 0.6857 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1627, allocations: 8.359 kB / 0.6857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.163, allocations: 214.8 kB / 0.6859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.163, allocations: 0 / 0.6859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.163, allocations: 4 kB / 0.6859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/0.1631, allocations: 43.95 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1633, allocations: 144.2 kB / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.164, allocations: 0.5042 MB / 0.6866 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1642, allocations: 86.59 kB / 0.6867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.1643, allocations: 52.81 kB / 0.6867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1643, allocations: 4 kB / 0.6867 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1644, allocations: 30.56 kB / 0.6867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1644, allocations: 0 / 0.6867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003234/0.1647, allocations: 193.6 kB / 0.6869 GB, free: 1.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1647, allocations: 55.41 kB / 0.687 GB, free: 1.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.165, allocations: 238.8 kB / 0.6872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.165, allocations: 33.64 kB / 0.6872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.1651, allocations: 124.2 kB / 0.6874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1651, allocations: 27.56 kB / 0.6874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.1651, allocations: 29.7 kB / 0.6874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1653, allocations: 334.8 kB / 0.6877 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.1653, allocations: 43.97 kB / 0.6878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.1654, allocations: 75.39 kB / 0.6879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1656, allocations: 127.3 kB / 0.688 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1656, allocations: 0 / 0.688 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.1658, allocations: 169.3 kB / 0.6881 GB, free: 200 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1658, allocations: 4 kB / 0.6881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1658, allocations: 0 / 0.6881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1659, allocations: 4 kB / 0.6881 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.166, allocations: 15.98 kB / 0.6882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.166, allocations: 3.938 kB / 0.6882 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.1661, allocations: 15.78 kB / 0.6882 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1661, allocations: 8 kB / 0.6882 GB, free: 148 kB / 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 9.346e-05/0.1662, allocations: 137.9 kB / 0.6883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2656/0.4318, allocations: 13.8 kB / 0.6883 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4322, allocations: 171.8 kB / 0.6885 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.4322, allocations: 6.609 kB / 0.6885 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4322, allocations: 2.844 kB / 0.6885 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4323, allocations: 1.266 kB / 0.6885 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.4326, allocations: 237.3 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4326, allocations: 3.281 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4327, allocations: 13.02 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4327, allocations: 5.5 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4327, allocations: 3.078 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4327, allocations: 0.5 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4327, allocations: 1.172 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.4331, allocations: 259.1 kB / 0.689 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.4331, allocations: 101.8 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.4331, allocations: 1.25 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.4332, allocations: 4.438 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.4333, allocations: 10.98 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4333, allocations: 7.719 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4335, allocations: 178.2 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4335, allocations: 0 / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007928/0.4343, allocations: 210.2 kB / 0.6895 GB, free: 17.63 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.0005568/0.4349, allocations: 240.9 kB / 0.6897 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.4352, allocations: 144.2 kB / 0.6899 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4352, allocations: 1.625 kB / 0.6899 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.4354, allocations: 75.05 kB / 0.6899 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4357, allocations: 11.77 kB / 0.6899 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.4364, allocations: 428.1 kB / 0.6904 GB, free: 17.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4367, allocations: 0.739 MB / 0.6911 GB, free: 16.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.4368, allocations: 25.41 kB / 0.6911 GB, free: 16.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4368, allocations: 0 / 0.6911 GB, free: 16.6 MB / 494.1 MB Notification: Performance of Templates: time 0.007899/0.4447, allocations: 3.823 MB / 0.6948 GB, free: 16.41 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)