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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7534/0.7534, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 179.8 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 447.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 84.31 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 270.9 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 12 kB / 0.6929 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 82.78 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4937, allocations: 111 MB / 0.8821 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4939, allocations: 79.83 kB / 0.8822 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5113, allocations: 6.064 MB / 0.8881 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5114, allocations: 4 kB / 0.8881 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5114, allocations: 4 kB / 0.8881 GB, free: 4.949 MB / 0.5417 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.0006905/0.5121, allocations: 0.5011 MB / 0.8886 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5121, allocations: 12.02 kB / 0.8886 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.5122, allocations: 19.72 kB / 0.8886 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.5124, allocations: 206.7 kB / 0.8888 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.5125, allocations: 11.88 kB / 0.8888 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5125, allocations: 11.94 kB / 0.8888 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.5128, allocations: 194.5 kB / 0.889 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5128, allocations: 4 kB / 0.889 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.5129, allocations: 3.984 kB / 0.889 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.5129, allocations: 35.97 kB / 0.889 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.5132, allocations: 132.2 kB / 0.8892 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.514, allocations: 496.5 kB / 0.8896 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.5143, allocations: 94.52 kB / 0.8897 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.5143, allocations: 0 / 0.8897 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5143, allocations: 34.56 kB / 0.8898 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.5143, allocations: 0 / 0.8898 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0003944/0.5147, allocations: 266.5 kB / 0.89 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5148, allocations: 55.39 kB / 0.8901 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.515, allocations: 210.1 kB / 0.8903 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.515, allocations: 29.7 kB / 0.8903 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.5151, allocations: 136 kB / 0.8904 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5151, allocations: 27.55 kB / 0.8905 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.5151, allocations: 4 kB / 0.8905 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5153, allocations: 322.8 kB / 0.8908 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.5153, allocations: 47.95 kB / 0.8908 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.5154, allocations: 71.39 kB / 0.8909 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.036e-05/0.5155, allocations: 59.89 kB / 0.8909 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5155, allocations: 4 kB / 0.8909 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002311/0.5158, allocations: 161.7 kB / 0.8911 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5158, allocations: 5.562 kB / 0.8911 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5158, allocations: 0 / 0.8911 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5158, allocations: 7.984 kB / 0.8911 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.516, allocations: 19.89 kB / 0.8911 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.516, allocations: 12.02 kB / 0.8911 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.5161, allocations: 11.84 kB / 0.8912 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5161, allocations: 15.98 kB / 0.8912 GB, free: 1.539 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.5162, allocations: 138.3 kB / 0.8913 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.5163, allocations: 15.81 kB / 0.8913 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.5166, allocations: 166.9 kB / 0.8915 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5166, allocations: 4 kB / 0.8915 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.5166, allocations: 7.953 kB / 0.8915 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5166, allocations: 7.984 kB / 0.8915 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5169, allocations: 221.5 kB / 0.8917 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5169, allocations: 4 kB / 0.8917 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.517, allocations: 11.98 kB / 0.8917 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.517, allocations: 0 / 0.8917 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.517, allocations: 4 kB / 0.8917 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5171, allocations: 0 / 0.8917 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5171, allocations: 0 / 0.8917 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5174, allocations: 267.2 kB / 0.892 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.5175, allocations: 100.8 kB / 0.8921 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.5175, allocations: 0 / 0.8921 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.5176, allocations: 4 kB / 0.8921 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.5176, allocations: 7.984 kB / 0.8921 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5176, allocations: 8 kB / 0.8921 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000152/0.5178, allocations: 168.6 kB / 0.8923 GB, free: 336 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5178, allocations: 4 kB / 0.8923 GB, free: 332 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008479/0.5187, allocations: 255.6 kB / 0.8925 GB, free: 76 kB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005165/0.5192, allocations: 291.9 kB / 0.8928 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.5194, allocations: 127.8 kB / 0.8929 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5194, allocations: 4 kB / 0.8929 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.5195, allocations: 71.94 kB / 0.893 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.5197, allocations: 5.188 kB / 0.893 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.5203, allocations: 379.5 kB / 0.8933 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5206, allocations: 0.7515 MB / 0.8941 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.5207, allocations: 41.06 kB / 0.8941 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.5208, allocations: 19.42 kB / 0.8941 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/0.5208, allocations: 0 / 0.8941 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.006324/0.5271, allocations: 3.624 MB / 0.8977 GB, free: 10.75 MB / 0.5573 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)