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.7263/0.7263, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001019/0.001019, allocations: 185.3 kB / 187.3 MB, free: 11.89 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.291/1.291, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.000915/0.0009149, allocations: 100.6 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 274.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.231e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5325, allocations: 122.5 MB / 0.884 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5327, allocations: 87.94 kB / 0.884 GB, free: 1.949 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.07337/0.6061, allocations: 25.28 MB / 0.9087 GB, free: 8.609 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6062, allocations: 0 / 0.9087 GB, free: 8.609 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.133e-05/0.6062, allocations: 16 kB / 0.9088 GB, free: 8.594 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.00214/0.6084, allocations: 1.013 MB / 0.9097 GB, free: 7.535 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6084, allocations: 12.03 kB / 0.9098 GB, free: 7.523 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.6086, allocations: 122.7 kB / 0.9099 GB, free: 7.395 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.6111, allocations: 0.518 MB / 0.9104 GB, free: 6.875 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.6119, allocations: 495 kB / 0.9109 GB, free: 6.348 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.6122, allocations: 309.3 kB / 0.9111 GB, free: 5.988 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6123, allocations: 72 kB / 0.9112 GB, free: 5.918 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6139, allocations: 0.9604 MB / 0.9122 GB, free: 4.922 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6139, allocations: 0 / 0.9122 GB, free: 4.922 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.614, allocations: 36 kB / 0.9122 GB, free: 4.887 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.614, allocations: 20 kB / 0.9122 GB, free: 4.867 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.6156, allocations: 0.9681 MB / 0.9132 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.6202, allocations: 2.915 MB / 0.916 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3598/0.9801, allocations: 1.39 MB / 0.9174 GB, free: 132.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009838/0.9811, allocations: 435.3 kB / 0.9178 GB, free: 132.4 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002534/0.9837, allocations: 2.59 MB / 0.9203 GB, free: 129.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.9849, allocations: 0.5258 MB / 0.9208 GB, free: 129.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=90): time 4.238e-06/0.9849, allocations: 1.281 kB / 0.9208 GB, free: 129.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=90): time 0.00204/0.9869, allocations: 0.8961 MB / 0.9217 GB, free: 129.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.987, allocations: 140.2 kB / 0.9218 GB, free: 129.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.9878, allocations: 0.5096 MB / 0.9223 GB, free: 129.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.9879, allocations: 43.73 kB / 0.9224 GB, free: 129.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.9882, allocations: 315.1 kB / 0.9227 GB, free: 129 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.9884, allocations: 295.7 kB / 0.9229 GB, free: 128.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.9885, allocations: 21 kB / 0.923 GB, free: 128.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9886, allocations: 379 kB / 0.9233 GB, free: 128.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.9893, allocations: 387.7 kB / 0.9237 GB, free: 128.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.9902, allocations: 471.6 kB / 0.9241 GB, free: 128.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.991, allocations: 399 kB / 0.9245 GB, free: 128.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.991, allocations: 0 / 0.9245 GB, free: 128.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002113/0.9931, allocations: 1.027 MB / 0.9255 GB, free: 128.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.9931, allocations: 5.75 kB / 0.9255 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9932, allocations: 4.609 kB / 0.9255 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.9932, allocations: 3.406 kB / 0.9255 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.9947, allocations: 266.5 kB / 0.9258 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.9947, allocations: 5.828 kB / 0.9258 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.996, allocations: 218.5 kB / 0.926 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.9961, allocations: 42.66 kB / 0.9261 GB, free: 128.3 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.0002007/0.9963, allocations: 149.7 kB / 0.9262 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.9965, allocations: 71.77 kB / 0.9263 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.9994, allocations: 1.351 MB / 0.9276 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.9994, allocations: 20.64 kB / 0.9276 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.9994, allocations: 0 / 0.9276 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.872e-05/0.9994, allocations: 10.08 kB / 0.9276 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/1.004, allocations: 2.291 MB / 0.9298 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.004, allocations: 0.5 kB / 0.9298 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.005, allocations: 273 kB / 0.9301 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/1.005, allocations: 3.75 kB / 0.9301 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/1.005, allocations: 35.62 kB / 0.9301 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.005, allocations: 8.281 kB / 0.9302 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.005, allocations: 3.281 kB / 0.9302 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.007, allocations: 1.162 MB / 0.9313 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.007, allocations: 310.7 kB / 0.9316 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.007, allocations: 22.84 kB / 0.9316 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.008, allocations: 116.2 kB / 0.9317 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.008, allocations: 78.97 kB / 0.9318 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/1.008, allocations: 40.06 kB / 0.9318 GB, free: 126.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004303/1.009, allocations: 403.6 kB / 0.9322 GB, free: 126.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 0 / 0.9322 GB, free: 126.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009509/1.01, allocations: 356.7 kB / 0.9326 GB, free: 126.5 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.002739/1.012, allocations: 2.138 MB / 0.9346 GB, free: 125.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001499/1.014, allocations: 0.9849 MB / 0.9356 GB, free: 125.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.014, allocations: 0 / 0.9356 GB, free: 125.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/1.015, allocations: 0.5572 MB / 0.9362 GB, free: 124.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/1.015, allocations: 99.88 kB / 0.9362 GB, free: 124.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.018, allocations: 1.406 MB / 0.9376 GB, free: 124.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.018, allocations: 0.9814 MB / 0.9386 GB, free: 123.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009373/1.019, allocations: 217.1 kB / 0.9388 GB, free: 123.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/1.019, allocations: 345.6 kB / 0.9391 GB, free: 123.3 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/1.019, allocations: 0 / 0.9391 GB, free: 123.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/1.053, allocations: 19.03 MB / 0.9577 GB, free: 115 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.054, allocations: 213.6 kB / 0.9579 GB, free: 114.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.624, allocations: 0 / 0.9579 GB, free: 114.8 MB / 0.573 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)