Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.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.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7493/0.7493, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 186.8 kB / 187.3 MB, free: 11.88 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.362/1.362, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009307/0.0009305, allocations: 101.6 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001828, allocations: 279.2 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.107e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.5638, allocations: 122.5 MB / 0.8839 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5641, allocations: 91.81 kB / 0.884 GB, free: 1.977 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.07332/0.6374, allocations: 25.27 MB / 0.9086 GB, free: 8.625 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6374, allocations: 0 / 0.9086 GB, free: 8.625 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.447e-05/0.6375, allocations: 23.94 kB / 0.9087 GB, free: 8.602 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002163/0.6397, allocations: 1.007 MB / 0.9096 GB, free: 7.551 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.6397, allocations: 12.03 kB / 0.9097 GB, free: 7.539 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.6424, allocations: 0.5063 MB / 0.9101 GB, free: 7.031 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.6432, allocations: 495 kB / 0.9106 GB, free: 6.504 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.6435, allocations: 313.3 kB / 0.9109 GB, free: 6.141 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6436, allocations: 76 kB / 0.911 GB, free: 6.066 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.6452, allocations: 0.9566 MB / 0.9119 GB, free: 5.074 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6452, allocations: 0 / 0.9119 GB, free: 5.074 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.6453, allocations: 32 kB / 0.912 GB, free: 5.043 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.6454, allocations: 16 kB / 0.912 GB, free: 5.027 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.647, allocations: 0.976 MB / 0.9129 GB, free: 4.047 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.6518, allocations: 2.923 MB / 0.9158 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3773/1.029, allocations: 1.381 MB / 0.9171 GB, free: 132.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/1.03, allocations: 432.6 kB / 0.9175 GB, free: 132.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/1.032, allocations: 2.593 MB / 0.9201 GB, free: 129.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/1.034, allocations: 0.5206 MB / 0.9206 GB, free: 129.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=90): time 3.046e-06/1.034, allocations: 1.375 kB / 0.9206 GB, free: 129.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=90): time 0.002043/1.036, allocations: 0.8969 MB / 0.9215 GB, free: 129.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.036, allocations: 140.2 kB / 0.9216 GB, free: 129.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/1.036, allocations: 0.5124 MB / 0.9221 GB, free: 129 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/1.037, allocations: 44.12 kB / 0.9221 GB, free: 129 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/1.037, allocations: 314.5 kB / 0.9224 GB, free: 128.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.037, allocations: 298.9 kB / 0.9227 GB, free: 128.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/1.037, allocations: 15.94 kB / 0.9227 GB, free: 128.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.037, allocations: 381.6 kB / 0.9231 GB, free: 128.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/1.038, allocations: 389.3 kB / 0.9235 GB, free: 128.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/1.039, allocations: 470.6 kB / 0.9239 GB, free: 128.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/1.04, allocations: 398.1 kB / 0.9243 GB, free: 128.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.04, allocations: 0 / 0.9243 GB, free: 128.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002192/1.042, allocations: 1.026 MB / 0.9253 GB, free: 128.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.042, allocations: 6.812 kB / 0.9253 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.042, allocations: 3.953 kB / 0.9253 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.042, allocations: 4.094 kB / 0.9253 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.043, allocations: 269.8 kB / 0.9256 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.043, allocations: 3.594 kB / 0.9256 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.045, allocations: 212.2 kB / 0.9258 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.045, allocations: 42.47 kB / 0.9258 GB, free: 128.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radWest.outsidePolarCircle,radSouth.outsidePolarCircle,radEast.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * Array equations: 0 * 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.0002122/1.045, allocations: 156.4 kB / 0.926 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.045, allocations: 71.03 kB / 0.926 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/1.048, allocations: 1.352 MB / 0.9274 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.048, allocations: 16.17 kB / 0.9274 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.048, allocations: 3 kB / 0.9274 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.048, allocations: 7.812 kB / 0.9274 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/1.053, allocations: 2.288 MB / 0.9296 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.053, allocations: 0.6875 kB / 0.9296 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.054, allocations: 275.1 kB / 0.9299 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/1.054, allocations: 3.594 kB / 0.9299 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/1.054, allocations: 34.38 kB / 0.9299 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.054, allocations: 3.656 kB / 0.9299 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.054, allocations: 0.8438 kB / 0.9299 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/1.056, allocations: 1.165 MB / 0.9311 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.057, allocations: 315.6 kB / 0.9314 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.057, allocations: 19.59 kB / 0.9314 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/1.058, allocations: 115.5 kB / 0.9315 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.058, allocations: 86.19 kB / 0.9316 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/1.058, allocations: 37.8 kB / 0.9316 GB, free: 126.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004834/1.059, allocations: 405.8 kB / 0.932 GB, free: 126.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.059, allocations: 0 / 0.932 GB, free: 126.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001076/1.06, allocations: 351.6 kB / 0.9323 GB, free: 126.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001196/1.061, allocations: 0.5204 MB / 0.9328 GB, free: 126.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001618/1.062, allocations: 0.9786 MB / 0.9338 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.063, allocations: 3.75 kB / 0.9338 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/1.063, allocations: 0.5601 MB / 0.9343 GB, free: 125.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/1.064, allocations: 89.36 kB / 0.9344 GB, free: 125.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.066, allocations: 1.187 MB / 0.9356 GB, free: 125.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/1.066, allocations: 0.9804 MB / 0.9365 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001031/1.067, allocations: 223 kB / 0.9368 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/1.068, allocations: 112.6 kB / 0.9369 GB, free: 124.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.42e-07/1.068, allocations: 3.875 kB / 0.9369 GB, free: 124.4 MB / 0.573 GB Notification: Performance of Templates: time 0.01819/1.086, allocations: 12.16 MB / 0.9487 GB, free: 123.6 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)