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.001353/0.001353, 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.001419/0.001419, allocations: 194.1 kB / 16.14 MB, free: 6.641 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 279 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004463/0.004463, allocations: 95.27 kB / 0.6057 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1765, allocations: 89.15 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002616/0.1792, allocations: 1.4 MB / 0.6942 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1814, allocations: 1.423 MB / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.1815, allocations: 0 / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.17e-05/0.1816, allocations: 11.91 kB / 0.6956 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.1824, allocations: 383.7 kB / 0.6959 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.424e-06/0.1825, allocations: 0.7812 kB / 0.6959 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1826, allocations: 163.6 kB / 0.6961 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1827, allocations: 5.953 kB / 0.6961 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.1828, allocations: 39.84 kB / 0.6961 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1829, allocations: 75.66 kB / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.183, allocations: 4 kB / 0.6962 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008609/0.1838, allocations: 0.6478 MB / 0.6968 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.1839, allocations: 52.55 kB / 0.6969 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.184, allocations: 59.47 kB / 0.6969 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.1848, allocations: 0.653 MB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1848, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1848, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1849, allocations: 3.938 kB / 0.6976 GB, free: 15.89 MB / 0.4981 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.0006311/0.1855, allocations: 0.4951 MB / 0.6981 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1855, allocations: 11.97 kB / 0.6981 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1856, allocations: 20.66 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1858, allocations: 201.2 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1858, allocations: 8.375 kB / 0.6983 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1859, allocations: 12.36 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.1862, allocations: 206.8 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1862, allocations: 0 / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1862, allocations: 0 / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-05/0.1863, allocations: 47.95 kB / 0.6986 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1866, allocations: 148.2 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.1874, allocations: 0.4887 MB / 0.6992 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1877, allocations: 86.53 kB / 0.6993 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.1878, allocations: 60.81 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1878, allocations: 0 / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1878, allocations: 34.56 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1878, allocations: 0 / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003751/0.1882, allocations: 193.3 kB / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1882, allocations: 51.41 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1885, allocations: 238.9 kB / 0.6998 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1885, allocations: 29.7 kB / 0.6998 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.1886, allocations: 140.1 kB / 0.7 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1887, allocations: 23.56 kB / 0.7 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.1887, allocations: 29.7 kB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1889, allocations: 330.8 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.189, allocations: 43.97 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1891, allocations: 75.33 kB / 0.7005 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1893, allocations: 131.6 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1893, allocations: 4 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002651/0.1896, allocations: 157.4 kB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1896, allocations: 8 kB / 0.7007 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1896, allocations: 0 / 0.7007 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1897, allocations: 96 / 0.7007 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1898, allocations: 23.92 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1898, allocations: 3.938 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.1899, allocations: 23.75 kB / 0.7008 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1899, allocations: 4 kB / 0.7008 GB, free: 12.36 MB / 0.4981 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 0.0001273/0.19, allocations: 133.8 kB / 0.7009 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.1901, allocations: 15.81 kB / 0.7009 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.1904, allocations: 178.9 kB / 0.7011 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.1904, allocations: 7.984 kB / 0.7011 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1904, allocations: 3.938 kB / 0.7011 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.1905, allocations: 7.984 kB / 0.7011 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.1908, allocations: 225.6 kB / 0.7013 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1908, allocations: 4 kB / 0.7013 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1909, allocations: 8 kB / 0.7014 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1909, allocations: 0 / 0.7014 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1909, allocations: 7.984 kB / 0.7014 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1909, allocations: 0 / 0.7014 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1909, allocations: 3.938 kB / 0.7014 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1912, allocations: 259.2 kB / 0.7016 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.1913, allocations: 96.84 kB / 0.7017 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1913, allocations: 0 / 0.7017 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.1914, allocations: 8 kB / 0.7017 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1915, allocations: 15.86 kB / 0.7017 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1915, allocations: 4 kB / 0.7017 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001693/0.1917, allocations: 171.2 kB / 0.7019 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1917, allocations: 4 kB / 0.7019 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005236/0.1922, allocations: 212 kB / 0.7021 GB, free: 10.93 MB / 0.4981 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.0005186/0.1927, allocations: 239.1 kB / 0.7023 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.193, allocations: 132.1 kB / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.193, allocations: 7.875 kB / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1932, allocations: 71.94 kB / 0.7025 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1934, allocations: 12.66 kB / 0.7025 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.194, allocations: 400.8 kB / 0.7029 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1944, allocations: 0.7398 MB / 0.7036 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.1946, allocations: 37.06 kB / 0.7037 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.1947, allocations: 19.44 kB / 0.7037 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1947, allocations: 0 / 0.7037 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Templates: time 0.007442/0.2021, allocations: 3.747 MB / 0.7074 GB, free: 5.516 MB / 0.4981 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)