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.001322/0.001322, allocations: 110 kB / 16.41 MB, free: 6.5 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.001217/0.001217, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 287.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 91.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4406, allocations: 86.98 MB / 0.767 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.005863/0.4465, allocations: 4.383 MB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006255/0.4528, allocations: 3.664 MB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.4535, allocations: 4 kB / 0.7749 GB, free: 11.67 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.0007046/0.4543, allocations: 114.8 kB / 0.775 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.4561, allocations: 0.4893 MB / 0.7755 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4576, allocations: 0.5322 MB / 0.776 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.4592, allocations: 1.089 MB / 0.7771 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.4597, allocations: 230.6 kB / 0.7773 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.4605, allocations: 434.6 kB / 0.7777 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.4615, allocations: 0.4902 MB / 0.7782 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.4618, allocations: 96 kB / 0.7783 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.463, allocations: 0.5424 MB / 0.7788 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.4634, allocations: 251.2 kB / 0.779 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.464, allocations: 473.6 kB / 0.7795 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.4661, allocations: 1.369 MB / 0.7808 GB, free: 5.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4661, allocations: 4 kB / 0.7808 GB, free: 5.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4661, allocations: 0 / 0.7808 GB, free: 5.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.4661, allocations: 0 / 0.7808 GB, free: 5.562 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.00329/0.4694, allocations: 1.215 MB / 0.782 GB, free: 4.293 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4695, allocations: 12.03 kB / 0.782 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.4729, allocations: 0.5891 MB / 0.7826 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.4747, allocations: 0.6671 MB / 0.7833 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.475, allocations: 305.9 kB / 0.7835 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4752, allocations: 79.94 kB / 0.7836 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.4775, allocations: 1.031 MB / 0.7846 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4775, allocations: 0 / 0.7846 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4776, allocations: 32 kB / 0.7847 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.4777, allocations: 16 kB / 0.7847 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.4801, allocations: 1.038 MB / 0.7857 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.4854, allocations: 2.963 MB / 0.7886 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.4887, allocations: 1.385 MB / 0.7899 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4898, allocations: 447.6 kB / 0.7904 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002839/0.4926, allocations: 2.597 MB / 0.7929 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.4939, allocations: 0.5515 MB / 0.7934 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 4.118e-06/0.494, allocations: 0 / 0.7934 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003465/0.4974, allocations: 1.308 MB / 0.7947 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.4975, allocations: 111.8 kB / 0.7948 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007335/0.4983, allocations: 0.5145 MB / 0.7953 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.4984, allocations: 37.7 kB / 0.7954 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.4987, allocations: 332.2 kB / 0.7957 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.499, allocations: 295.7 kB / 0.796 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.4993, allocations: 198.4 kB / 0.7961 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4995, allocations: 382.7 kB / 0.7965 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.5005, allocations: 381.7 kB / 0.7969 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.5016, allocations: 0.5386 MB / 0.7974 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.5038, allocations: 0.9175 MB / 0.7983 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.5038, allocations: 0 / 0.7983 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00267/0.5065, allocations: 1.094 MB / 0.7994 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5065, allocations: 11.98 kB / 0.7994 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5065, allocations: 3.938 kB / 0.7994 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5066, allocations: 8 kB / 0.7994 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5079, allocations: 251.9 kB / 0.7996 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.219e-05/0.5079, allocations: 11.94 kB / 0.7996 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.5089, allocations: 125.8 kB / 0.7998 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5091, allocations: 43.95 kB / 0.7998 GB, free: 1.055 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.0005852/0.5097, allocations: 235.5 kB / 0.8 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.5099, allocations: 75.05 kB / 0.8001 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.5135, allocations: 1.388 MB / 0.8015 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5135, allocations: 12 kB / 0.8015 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.5136, allocations: 7.922 kB / 0.8015 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5136, allocations: 3.984 kB / 0.8015 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.5178, allocations: 2.207 MB / 0.8036 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5178, allocations: 0 / 0.8036 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.519, allocations: 239.7 kB / 0.8039 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/0.5191, allocations: 11.92 kB / 0.8039 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.5192, allocations: 31.97 kB / 0.8039 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/0.5192, allocations: 8 kB / 0.8039 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5192, allocations: 0 / 0.8039 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.5218, allocations: 1.216 MB / 0.8051 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.5222, allocations: 263.7 kB / 0.8054 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5224, allocations: 27.94 kB / 0.8054 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.5232, allocations: 63.94 kB / 0.8054 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5234, allocations: 72.89 kB / 0.8055 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5235, allocations: 39.97 kB / 0.8055 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004503/0.5239, allocations: 358.8 kB / 0.8059 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5239, allocations: 0 / 0.8059 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009492/0.5249, allocations: 299.5 kB / 0.8062 GB, free: 10.42 MB / 0.5762 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.001269/0.5262, allocations: 0.5149 MB / 0.8067 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.5288, allocations: 1.012 MB / 0.8077 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.5288, allocations: 4 kB / 0.8077 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.5301, allocations: 0.5676 MB / 0.8082 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.5309, allocations: 124.7 kB / 0.8083 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.5341, allocations: 1.589 MB / 0.8099 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.5348, allocations: 0.9699 MB / 0.8108 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.5353, allocations: 127.3 kB / 0.811 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.5353, allocations: 0 / 0.811 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.0224/0.5577, allocations: 13.25 MB / 0.8239 GB, free: 8.379 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)