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.001591/0.001592, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.0018/0.0018, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 282.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 100.2 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3861, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.005516/0.3916, allocations: 4.382 MB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005194/0.3969, allocations: 3.668 MB / 0.7749 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.3971, allocations: 7.938 kB / 0.7749 GB, free: 11.84 MB / 0.545 GB [/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.0004124/0.3976, allocations: 118.8 kB / 0.775 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3986, allocations: 497.1 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.3996, allocations: 0.5348 MB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.4006, allocations: 1.089 MB / 0.7771 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.401, allocations: 222.6 kB / 0.7773 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.4015, allocations: 434.6 kB / 0.7777 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.4021, allocations: 0.4942 MB / 0.7782 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4023, allocations: 96 kB / 0.7783 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.4032, allocations: 0.5463 MB / 0.7788 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.4034, allocations: 243.2 kB / 0.779 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.4039, allocations: 469.6 kB / 0.7795 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.4052, allocations: 1.377 MB / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4052, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4052, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4052, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB 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.002574/0.4078, allocations: 1.211 MB / 0.782 GB, free: 4.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4078, allocations: 12.03 kB / 0.782 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.4112, allocations: 0.593 MB / 0.7826 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.4126, allocations: 0.6787 MB / 0.7833 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.4129, allocations: 305.9 kB / 0.7836 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.413, allocations: 75.94 kB / 0.7836 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.415, allocations: 1.027 MB / 0.7846 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.415, allocations: 0 / 0.7846 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.4151, allocations: 36 kB / 0.7847 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4152, allocations: 16 kB / 0.7847 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.4175, allocations: 1.038 MB / 0.7857 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.4223, allocations: 2.955 MB / 0.7886 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.4255, allocations: 1.393 MB / 0.79 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.4265, allocations: 443.6 kB / 0.7904 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002747/0.4293, allocations: 2.601 MB / 0.7929 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.4305, allocations: 0.5476 MB / 0.7935 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 3.636e-06/0.4305, allocations: 4 kB / 0.7935 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003319/0.4339, allocations: 1.315 MB / 0.7947 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.4339, allocations: 111.8 kB / 0.7948 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.4345, allocations: 0.5145 MB / 0.7953 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.4346, allocations: 41.7 kB / 0.7954 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.4348, allocations: 320.2 kB / 0.7957 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.4351, allocations: 295.7 kB / 0.796 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.4354, allocations: 198.4 kB / 0.7962 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4355, allocations: 374.8 kB / 0.7965 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.4365, allocations: 397.7 kB / 0.7969 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4376, allocations: 0.5239 MB / 0.7974 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.4396, allocations: 0.9253 MB / 0.7983 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4396, allocations: 0 / 0.7983 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002447/0.4421, allocations: 1.098 MB / 0.7994 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4421, allocations: 10.34 kB / 0.7994 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4421, allocations: 0 / 0.7994 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4422, allocations: 8 kB / 0.7994 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4434, allocations: 243.6 kB / 0.7996 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4434, allocations: 11.94 kB / 0.7997 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.4443, allocations: 127 kB / 0.7998 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.4444, allocations: 47.95 kB / 0.7998 GB, free: 1.227 MB / 0.5606 GB 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.0003315/0.4448, allocations: 230.8 kB / 0.8 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4449, allocations: 71.06 kB / 0.8001 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.4482, allocations: 1.396 MB / 0.8015 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4482, allocations: 7.984 kB / 0.8015 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4482, allocations: 0 / 0.8015 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.4485, allocations: 275.6 kB / 0.8017 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.4487, allocations: 23.98 kB / 0.8018 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007578/0.4495, allocations: 59.94 kB / 0.8018 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.4496, allocations: 72.89 kB / 0.8019 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002936/0.4526, allocations: 1.235 MB / 0.8031 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00247/0.455, allocations: 1.291 MB / 0.8044 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001061/0.4561, allocations: 0.5231 MB / 0.8049 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003787/0.4565, allocations: 358.8 kB / 0.8052 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Backend: time 4.8e-07/0.4565, allocations: 0 / 0.8052 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.4597, allocations: 1.209 MB / 0.8064 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001963/0.4617, allocations: 1.63 MB / 0.808 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.02378/0.4855, allocations: 14.95 MB / 0.8226 GB, free: 10.07 MB / 0.5919 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)