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.7527/0.7527, allocations: 143.4 MB / 158.3 MB, free: 5.844 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.001039/0.001039, allocations: 175.5 kB / 191.5 MB, free: 5.773 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.425/1.425, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.001147/0.001147, allocations: 103.7 kB / 0.5188 GB, free: 1.082 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 274.4 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 11.5 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6464, allocations: 122.5 MB / 0.8934 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.6467, allocations: 99.14 kB / 0.8935 GB, free: 22.14 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.07495/0.7217, allocations: 25.52 MB / 0.9184 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7217, allocations: 0 / 0.9184 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.522e-05/0.7218, allocations: 19.38 kB / 0.9184 GB, free: 20.17 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002885/0.7247, allocations: 1.075 MB / 0.9195 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7247, allocations: 20.45 kB / 0.9195 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/0.7274, allocations: 0.5098 MB / 0.92 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.7285, allocations: 491.3 kB / 0.9204 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.7287, allocations: 304.9 kB / 0.9207 GB, free: 18.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.7289, allocations: 73.88 kB / 0.9208 GB, free: 18.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.7312, allocations: 1.096 MB / 0.9219 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.7312, allocations: 0 / 0.9219 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.7313, allocations: 31.5 kB / 0.9219 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.7314, allocations: 19.38 kB / 0.9219 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/0.7341, allocations: 1.23 MB / 0.9231 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.7391, allocations: 2.921 MB / 0.926 GB, free: 17.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.7432, allocations: 1.697 MB / 0.9276 GB, free: 17.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.7454, allocations: 2.602 MB / 0.9302 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.7467, allocations: 0.649 MB / 0.9308 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=90): time 3.076e-06/0.7467, allocations: 0 / 0.9308 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90): time 0.004115/0.7509, allocations: 1.633 MB / 0.9324 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.751, allocations: 137.4 kB / 0.9325 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.7517, allocations: 0.5185 MB / 0.933 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.7518, allocations: 39.98 kB / 0.9331 GB, free: 29.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.7521, allocations: 316.3 kB / 0.9334 GB, free: 29.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.7523, allocations: 304.6 kB / 0.9337 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.7524, allocations: 14.31 kB / 0.9337 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7525, allocations: 383.1 kB / 0.934 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7537, allocations: 0.5 MB / 0.9345 GB, free: 28.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.7549, allocations: 0.5921 MB / 0.9351 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.7561, allocations: 0.5117 MB / 0.9356 GB, free: 28.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7562, allocations: 0 / 0.9356 GB, free: 28.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002701/0.7589, allocations: 1.281 MB / 0.9369 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.7589, allocations: 9.234 kB / 0.9369 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7589, allocations: 0 / 0.9369 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7589, allocations: 3.875 kB / 0.9369 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.7603, allocations: 264.4 kB / 0.9371 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.7603, allocations: 7.859 kB / 0.9371 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.7617, allocations: 205.8 kB / 0.9373 GB, free: 28.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.7618, allocations: 50.02 kB / 0.9374 GB, free: 28.07 MB / 0.5573 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 () * Number of clocked 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.0004633/0.7623, allocations: 225 kB / 0.9376 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.7625, allocations: 74.06 kB / 0.9377 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.7661, allocations: 1.605 MB / 0.9392 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7662, allocations: 15.72 kB / 0.9392 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7662, allocations: 0 / 0.9392 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7662, allocations: 3.984 kB / 0.9393 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.7707, allocations: 2.535 MB / 0.9417 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7707, allocations: 7.938 kB / 0.9417 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.772, allocations: 276.3 kB / 0.942 GB, free: 26.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.772, allocations: 7.906 kB / 0.942 GB, free: 26.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.44e-05/0.7721, allocations: 30.28 kB / 0.942 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.7722, allocations: 3.844 kB / 0.942 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7722, allocations: 3.906 kB / 0.942 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.7751, allocations: 1.422 MB / 0.9434 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.7758, allocations: 295.7 kB / 0.9437 GB, free: 25.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.7761, allocations: 26.09 kB / 0.9437 GB, free: 25.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.7773, allocations: 112.4 kB / 0.9438 GB, free: 25.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.7774, allocations: 82.72 kB / 0.9439 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.7775, allocations: 34.27 kB / 0.944 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005349/0.7781, allocations: 413.7 kB / 0.9444 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7781, allocations: 0 / 0.9444 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001327/0.7794, allocations: 354.6 kB / 0.9447 GB, free: 25.67 MB / 0.5573 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) * Number of clocked states: 0 () * 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.001556/0.781, allocations: 0.5671 MB / 0.9452 GB, free: 25.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.7836, allocations: 1.239 MB / 0.9465 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7836, allocations: 0 / 0.9465 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.7849, allocations: 0.6922 MB / 0.9471 GB, free: 25.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.7856, allocations: 83.3 kB / 0.9472 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.7891, allocations: 1.988 MB / 0.9491 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.7897, allocations: 0.9826 MB / 0.9501 GB, free: 23.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7907, allocations: 221.7 kB / 0.9503 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.7912, allocations: 118.2 kB / 0.9504 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.7912, allocations: 4 kB / 0.9504 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of Templates: time 0.01943/0.8106, allocations: 12.13 MB / 0.9623 GB, free: 16.93 MB / 0.5573 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)