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: "" <> buildModelFMU(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7667/0.7667, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001095/0.001095, allocations: 187.7 kB / 182.2 MB, free: 9.453 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.347/1.347, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008329/0.0008329, allocations: 88.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 272.2 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.384e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4017, allocations: 82.78 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5471, allocations: 121.8 MB / 0.8764 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5474, allocations: 91.94 kB / 0.8765 GB, free: 5.879 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.4012/0.9487, allocations: 25.01 MB / 0.9009 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9487, allocations: 0 / 0.9009 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.9488, allocations: 18.84 kB / 0.9009 GB, free: 123.9 MB / 0.5573 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.002521/0.9513, allocations: 1.015 MB / 0.9019 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.9514, allocations: 14.69 kB / 0.902 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.9543, allocations: 0.5026 MB / 0.9024 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.9552, allocations: 499.9 kB / 0.9029 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.9555, allocations: 284.4 kB / 0.9032 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9556, allocations: 46.12 kB / 0.9032 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001849/0.9575, allocations: 0.9177 MB / 0.9041 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.9592, allocations: 0.8591 MB / 0.905 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.9593, allocations: 3.984 kB / 0.905 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/0.9594, allocations: 3.688 kB / 0.905 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.9594, allocations: 18.88 kB / 0.905 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.965, allocations: 2.752 MB / 0.9077 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.9679, allocations: 1.334 MB / 0.909 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.9687, allocations: 406.2 kB / 0.9094 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002118/0.9708, allocations: 2.595 MB / 0.9119 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.9717, allocations: 0.4979 MB / 0.9124 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=90): time 3.977e-06/0.9718, allocations: 0 / 0.9124 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=90): time 0.0863/1.058, allocations: 10.49 MB / 0.9226 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.058, allocations: 140.5 kB / 0.9228 GB, free: 117 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/1.059, allocations: 401.2 kB / 0.9232 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/1.059, allocations: 29.55 kB / 0.9232 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/1.059, allocations: 323.7 kB / 0.9235 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/1.059, allocations: 283.3 kB / 0.9238 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/1.059, allocations: 0 / 0.9238 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/1.059, allocations: 368.8 kB / 0.9241 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/1.06, allocations: 370.2 kB / 0.9245 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/1.06, allocations: 447.9 kB / 0.9249 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08578/1.146, allocations: 10.34 MB / 0.935 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.146, allocations: 0 / 0.935 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.08559/1.232, allocations: 10.94 MB / 0.9457 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.232, allocations: 4 kB / 0.9457 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.232, allocations: 0 / 0.9457 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/1.232, allocations: 4 kB / 0.9457 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.233, allocations: 267.2 kB / 0.9459 GB, free: 95.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.233, allocations: 4 kB / 0.9459 GB, free: 95.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.235, allocations: 187.1 kB / 0.9461 GB, free: 95.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.235, allocations: 47.91 kB / 0.9462 GB, free: 95.47 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 () * 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.000212/1.235, allocations: 118.7 kB / 0.9463 GB, free: 95.36 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08568/1.321, allocations: 10.49 MB / 0.9565 GB, free: 84.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/1.321, allocations: 59.25 kB / 0.9566 GB, free: 84.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07819/1.399, allocations: 10.78 MB / 0.9671 GB, free: 74.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.399, allocations: 12 kB / 0.9671 GB, free: 74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.399, allocations: 3.953 kB / 0.9671 GB, free: 74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.399, allocations: 3.984 kB / 0.9671 GB, free: 74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08101/1.48, allocations: 11.62 MB / 0.9785 GB, free: 62.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.481, allocations: 0 / 0.9785 GB, free: 62.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.482, allocations: 280.4 kB / 0.9787 GB, free: 62.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/1.482, allocations: 4 kB / 0.9787 GB, free: 62.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.482, allocations: 26.55 kB / 0.9788 GB, free: 62.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/1.482, allocations: 8 kB / 0.9788 GB, free: 62.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.482, allocations: 0 / 0.9788 GB, free: 62.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07857/1.561, allocations: 10.61 MB / 0.9891 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/1.561, allocations: 291.7 kB / 0.9894 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.561, allocations: 0 / 0.9894 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.563, allocations: 103.8 kB / 0.9895 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.563, allocations: 77.2 kB / 0.9896 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/1.563, allocations: 43.97 kB / 0.9896 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003391/1.563, allocations: 302.9 kB / 0.9899 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.563, allocations: 0 / 0.9899 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001183/1.564, allocations: 323.2 kB / 0.9902 GB, free: 50.28 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) * 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.08116/1.646, allocations: 11.53 MB / 1.001 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001587/1.647, allocations: 0.9432 MB / 1.002 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.647, allocations: 0 / 1.002 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00077/1.648, allocations: 0.5398 MB / 1.003 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/1.649, allocations: 59.22 kB / 1.003 GB, free: 37.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/1.652, allocations: 1.303 MB / 1.004 GB, free: 35.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.652, allocations: 0.9856 MB / 1.005 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001158/1.653, allocations: 217.7 kB / 1.005 GB, free: 34.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/1.654, allocations: 323.3 kB / 1.006 GB, free: 34.46 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.654, allocations: 0 / 1.006 GB, free: 34.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/1.697, allocations: 17.31 MB / 1.023 GB, free: 17.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.697, allocations: 193.9 kB / 1.023 GB, free: 17.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/4.051, allocations: 5.5 kB / 1.023 GB, free: 17.13 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure.fmu > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)