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.004256/0.004256, allocations: 101 kB / 15.73 MB, free: 6.047 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.001061/0.001061, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 271 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 91.86 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 86.98 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002053/0.1503, allocations: 1.358 MB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1521, allocations: 1.314 MB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1522, allocations: 0 / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.56e-05/0.1523, allocations: 15.86 kB / 0.769 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1534, allocations: 0.5909 MB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.072e-05/0.1534, allocations: 8 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1535, allocations: 99.66 kB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.1536, allocations: 4.234 kB / 0.7697 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.1537, allocations: 55.75 kB / 0.7697 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1538, allocations: 59.8 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1538, allocations: 4 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.1546, allocations: 0.7097 MB / 0.7705 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.1547, allocations: 60.33 kB / 0.7706 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1547, allocations: 55.59 kB / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1554, allocations: 0.6783 MB / 0.7713 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1554, allocations: 4 kB / 0.7713 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1554, allocations: 0 / 0.7713 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.1554, allocations: 0 / 0.7713 GB, free: 3.375 MB / 0.5606 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.0005294/0.156, allocations: 0.5027 MB / 0.7718 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.156, allocations: 8.031 kB / 0.7718 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.156, allocations: 16.75 kB / 0.7718 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1562, allocations: 206.2 kB / 0.772 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1562, allocations: 8.359 kB / 0.772 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1563, allocations: 12.36 kB / 0.772 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1565, allocations: 206.8 kB / 0.7722 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1566, allocations: 0 / 0.7722 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1566, allocations: 3.984 kB / 0.7722 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.1566, allocations: 51.95 kB / 0.7723 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1569, allocations: 140.2 kB / 0.7724 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.1576, allocations: 0.4926 MB / 0.7729 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1578, allocations: 82.59 kB / 0.773 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.1579, allocations: 60.81 kB / 0.773 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1579, allocations: 0 / 0.773 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.1579, allocations: 34.5 kB / 0.773 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.1579, allocations: 0 / 0.773 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.00032/0.1583, allocations: 189.3 kB / 0.7732 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1583, allocations: 51.41 kB / 0.7733 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1585, allocations: 235.8 kB / 0.7735 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1585, allocations: 29.7 kB / 0.7735 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.1586, allocations: 136.1 kB / 0.7737 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.1586, allocations: 27.56 kB / 0.7737 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.1587, allocations: 29.69 kB / 0.7737 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1588, allocations: 338.8 kB / 0.774 GB, free: 344 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.1589, allocations: 39.97 kB / 0.7741 GB, free: 304 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.159, allocations: 79.33 kB / 0.7741 GB, free: 212 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1591, allocations: 127.3 kB / 0.7743 GB, free: 72 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1591, allocations: 0 / 0.7743 GB, free: 72 kB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.3129/0.4721, allocations: 157.8 kB / 0.7744 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4721, allocations: 6.344 kB / 0.7744 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4722, allocations: 2.281 kB / 0.7744 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4722, allocations: 6.125 kB / 0.7744 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4723, allocations: 14.69 kB / 0.7744 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4723, allocations: 4.031 kB / 0.7745 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.4724, allocations: 18.48 kB / 0.7745 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.4725, allocations: 11.62 kB / 0.7745 GB, free: 14.71 MB / 0.5606 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 9.799e-05/0.4726, allocations: 136.8 kB / 0.7746 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.4726, allocations: 15.59 kB / 0.7746 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.4729, allocations: 165 kB / 0.7748 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.473, allocations: 6.625 kB / 0.7748 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.473, allocations: 0.8125 kB / 0.7748 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.473, allocations: 2.219 kB / 0.7748 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4733, allocations: 235.2 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4733, allocations: 2.969 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.4734, allocations: 13.05 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4734, allocations: 1.344 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.4734, allocations: 3.344 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4734, allocations: 7.5 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4734, allocations: 4.172 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4737, allocations: 260 kB / 0.7753 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.4737, allocations: 97.55 kB / 0.7754 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.4738, allocations: 6.797 kB / 0.7754 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.4738, allocations: 0.75 kB / 0.7754 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.4739, allocations: 10.12 kB / 0.7754 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4739, allocations: 9.281 kB / 0.7754 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001457/0.4741, allocations: 174.1 kB / 0.7756 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4741, allocations: 1.094 kB / 0.7756 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005707/0.4746, allocations: 211.5 kB / 0.7758 GB, free: 14.07 MB / 0.5606 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.0004548/0.4751, allocations: 248.8 kB / 0.776 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.4754, allocations: 129.9 kB / 0.7761 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4754, allocations: 0.75 kB / 0.7761 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4755, allocations: 77.08 kB / 0.7762 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.4757, allocations: 9.75 kB / 0.7762 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.4762, allocations: 341.5 kB / 0.7766 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.4764, allocations: 0.7356 MB / 0.7773 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.4766, allocations: 41.64 kB / 0.7773 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.4766, allocations: 22.66 kB / 0.7773 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4766, allocations: 0 / 0.7773 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.006544/0.4832, allocations: 3.794 MB / 0.781 GB, free: 12.99 MB / 0.5606 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)