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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002342/0.002342, allocations: 298.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9954/0.9954, allocations: 169.2 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 94.55 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1534, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.005587/0.159, allocations: 4.364 MB / 0.6851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.1645, allocations: 3.68 MB / 0.6887 GB, free: 88 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.1649, allocations: 4 kB / 0.6887 GB, free: 84 kB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.2678/0.4328, allocations: 125.6 kB / 0.6888 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.4348, allocations: 487.2 kB / 0.6893 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.4364, allocations: 0.5276 MB / 0.6898 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.4381, allocations: 1.077 MB / 0.6909 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.4386, allocations: 229.6 kB / 0.6911 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4397, allocations: 434.9 kB / 0.6915 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4409, allocations: 0.4896 MB / 0.692 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.4414, allocations: 94.91 kB / 0.6921 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.4432, allocations: 0.5467 MB / 0.6926 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.4437, allocations: 246.4 kB / 0.6928 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.4448, allocations: 469.7 kB / 0.6933 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.4476, allocations: 1.348 MB / 0.6946 GB, free: 11.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4476, allocations: 0 / 0.6946 GB, free: 11.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4476, allocations: 1.25 kB / 0.6946 GB, free: 11.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.527e-05/0.4477, allocations: 1.094 kB / 0.6946 GB, free: 11.37 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003896/0.4516, allocations: 1.22 MB / 0.6958 GB, free: 10.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4517, allocations: 10.5 kB / 0.6958 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.4555, allocations: 0.5887 MB / 0.6964 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.4573, allocations: 0.6672 MB / 0.697 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.4576, allocations: 313.3 kB / 0.6973 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.4578, allocations: 73.31 kB / 0.6974 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.4603, allocations: 1.03 MB / 0.6984 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.4603, allocations: 1.078 kB / 0.6984 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4605, allocations: 32.06 kB / 0.6984 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.4605, allocations: 19.16 kB / 0.6984 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.4631, allocations: 1.037 MB / 0.6995 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/0.4689, allocations: 2.963 MB / 0.7024 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.4726, allocations: 1.39 MB / 0.7037 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.4738, allocations: 450.3 kB / 0.7041 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/0.4762, allocations: 2.601 MB / 0.7067 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.4777, allocations: 0.5418 MB / 0.7072 GB, free: 3.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.848e-06/0.4777, allocations: 0 / 0.7072 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.003698/0.4814, allocations: 1.31 MB / 0.7085 GB, free: 2.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.4815, allocations: 117.6 kB / 0.7086 GB, free: 2.742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.4823, allocations: 0.5108 MB / 0.7091 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.4824, allocations: 37.08 kB / 0.7091 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4826, allocations: 333.5 kB / 0.7095 GB, free: 2.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.4828, allocations: 291.7 kB / 0.7097 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.4832, allocations: 193.7 kB / 0.7099 GB, free: 1.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4833, allocations: 384.2 kB / 0.7103 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.4844, allocations: 386.9 kB / 0.7106 GB, free: 1.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4855, allocations: 0.5345 MB / 0.7112 GB, free: 1.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4876, allocations: 0.9129 MB / 0.7121 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.4876, allocations: 1.891 kB / 0.7121 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002711/0.4903, allocations: 1.097 MB / 0.7131 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4904, allocations: 7.406 kB / 0.7131 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4904, allocations: 3.469 kB / 0.7131 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/0.4904, allocations: 11.2 kB / 0.7132 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4917, allocations: 250.2 kB / 0.7134 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.4917, allocations: 7.547 kB / 0.7134 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.4927, allocations: 125 kB / 0.7135 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.4928, allocations: 55.19 kB / 0.7136 GB, free: 164 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.weatherData.conTim.tNext,$PRE.weaDat.weatherData.conTim.tNext,$whenCondition1,radEast.outsidePolarCircle,radSouth.outsidePolarCircle,radWest.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.4933, allocations: 235.3 kB / 0.7138 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.4935, allocations: 72.58 kB / 0.7139 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.497, allocations: 1.39 MB / 0.7152 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4971, allocations: 12.12 kB / 0.7152 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4971, allocations: 2.156 kB / 0.7152 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.4971, allocations: 9.328 kB / 0.7152 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.5013, allocations: 2.203 MB / 0.7174 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5013, allocations: 0 / 0.7174 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.5025, allocations: 241.6 kB / 0.7176 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/0.5025, allocations: 4 kB / 0.7176 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5026, allocations: 36.62 kB / 0.7177 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.5027, allocations: 6.938 kB / 0.7177 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5027, allocations: 2.406 kB / 0.7177 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.5053, allocations: 1.206 MB / 0.7189 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.5058, allocations: 266.9 kB / 0.7191 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5059, allocations: 24.75 kB / 0.7191 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007888/0.5067, allocations: 64.69 kB / 0.7192 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5069, allocations: 74.52 kB / 0.7193 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/0.507, allocations: 45.12 kB / 0.7193 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004318/0.5074, allocations: 356.8 kB / 0.7196 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5074, allocations: 0 / 0.7196 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001135/0.5086, allocations: 299.5 kB / 0.7199 GB, free: 13.24 MB / 0.4981 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 (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.5099, allocations: 0.5204 MB / 0.7204 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003575/0.5135, allocations: 1.103 MB / 0.7215 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.5135, allocations: 4.062 kB / 0.7215 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5148, allocations: 0.5723 MB / 0.7221 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.5157, allocations: 115.1 kB / 0.7222 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.519, allocations: 1.613 MB / 0.7238 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.5196, allocations: 0.9668 MB / 0.7247 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.5202, allocations: 131.7 kB / 0.7248 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.5202, allocations: 0 / 0.7248 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.02486/0.5451, allocations: 13.15 MB / 0.7377 GB, free: 2.598 MB / 0.4981 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)