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.001062/0.001062, allocations: 107 kB / 16.36 MB, free: 6.336 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.00109/0.00109, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 293.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 94.52 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1452, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002167/0.1474, allocations: 1.352 MB / 0.6829 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1492, allocations: 1.318 MB / 0.6842 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.1493, allocations: 3.938 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.848e-05/0.1494, allocations: 15.92 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.1505, allocations: 0.5831 MB / 0.6848 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.787e-06/0.1506, allocations: 0 / 0.6848 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1507, allocations: 99.7 kB / 0.6849 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1507, allocations: 4.234 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1508, allocations: 59.75 kB / 0.6849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.151, allocations: 71.67 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.151, allocations: 4 kB / 0.685 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.1518, allocations: 0.702 MB / 0.6857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.1519, allocations: 60.64 kB / 0.6858 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1519, allocations: 59.53 kB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.1526, allocations: 0.6821 MB / 0.6865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1526, allocations: 3.938 kB / 0.6865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1526, allocations: 0 / 0.6865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1526, allocations: 0 / 0.6865 GB, free: 2.398 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.0005102/0.1531, allocations: 498.9 kB / 0.687 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1532, allocations: 12.03 kB / 0.687 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1532, allocations: 12.75 kB / 0.687 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1534, allocations: 210.3 kB / 0.6872 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1534, allocations: 4.375 kB / 0.6872 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1535, allocations: 8.359 kB / 0.6872 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.1537, allocations: 224.1 kB / 0.6874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1537, allocations: 0 / 0.6874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1538, allocations: 0 / 0.6874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-05/0.1538, allocations: 47.95 kB / 0.6875 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.154, allocations: 144.2 kB / 0.6876 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.1548, allocations: 0.4965 MB / 0.6881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.155, allocations: 86.59 kB / 0.6882 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1551, allocations: 60.75 kB / 0.6882 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1552, allocations: 0 / 0.6882 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1552, allocations: 34.56 kB / 0.6883 GB, free: 436 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1552, allocations: 0 / 0.6883 GB, free: 436 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003274/0.1555, allocations: 193.3 kB / 0.6884 GB, free: 236 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1556, allocations: 55.34 kB / 0.6885 GB, free: 168 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2399/0.3954, allocations: 239.7 kB / 0.6887 GB, free: 18.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3955, allocations: 25.7 kB / 0.6887 GB, free: 18.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.3956, allocations: 123 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3956, allocations: 30.91 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.3957, allocations: 31.92 kB / 0.6889 GB, free: 18.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.3957, allocations: 327.8 kB / 0.6892 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.3958, allocations: 45.64 kB / 0.6893 GB, free: 17.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.3959, allocations: 71.8 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3961, allocations: 129.3 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3961, allocations: 4.281 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002545/0.3964, allocations: 162.8 kB / 0.6896 GB, free: 17.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3964, allocations: 6.047 kB / 0.6896 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3964, allocations: 1 kB / 0.6896 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3965, allocations: 2.906 kB / 0.6896 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3966, allocations: 15.8 kB / 0.6897 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3966, allocations: 6.547 kB / 0.6897 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3967, allocations: 16.97 kB / 0.6897 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3967, allocations: 8.906 kB / 0.6897 GB, free: 17.63 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 8.133e-05/0.3968, allocations: 138.8 kB / 0.6898 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3968, allocations: 15.41 kB / 0.6898 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3971, allocations: 170.5 kB / 0.69 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.3972, allocations: 13.8 kB / 0.69 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3972, allocations: 1.328 kB / 0.69 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3972, allocations: 4.125 kB / 0.69 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.3974, allocations: 232.2 kB / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3975, allocations: 0.5156 kB / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.3976, allocations: 14.62 kB / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3976, allocations: 0 / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3976, allocations: 7.266 kB / 0.6903 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3976, allocations: 4.5 kB / 0.6903 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3976, allocations: 2.875 kB / 0.6903 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3978, allocations: 250.5 kB / 0.6905 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.3979, allocations: 95.45 kB / 0.6906 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3979, allocations: 1.859 kB / 0.6906 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.398, allocations: 7.766 kB / 0.6906 GB, free: 17.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.398, allocations: 11.09 kB / 0.6906 GB, free: 17.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3981, allocations: 7.578 kB / 0.6906 GB, free: 17.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3982, allocations: 177.4 kB / 0.6908 GB, free: 16.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3982, allocations: 0 / 0.6908 GB, free: 16.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.3988, allocations: 213.2 kB / 0.691 GB, free: 16.95 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.0004423/0.3992, allocations: 246.4 kB / 0.6912 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3995, allocations: 131.6 kB / 0.6914 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3995, allocations: 0.5625 kB / 0.6914 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3996, allocations: 77.67 kB / 0.6914 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3999, allocations: 10.06 kB / 0.6914 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.4004, allocations: 337.1 kB / 0.6918 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.4005, allocations: 0.7367 MB / 0.6925 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.4007, allocations: 40.16 kB / 0.6925 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.4007, allocations: 20.64 kB / 0.6925 GB, free: 15.99 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4008, allocations: 0 / 0.6925 GB, free: 15.99 MB / 494.1 MB Notification: Performance of Templates: time 0.007152/0.4079, allocations: 3.773 MB / 0.6962 GB, free: 15.86 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)