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.001377/0.001377, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001467/0.001468, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002267/0.002267, allocations: 285.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 87.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5884/0.5904, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.005606/0.5961, allocations: 4.381 MB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005815/0.6019, allocations: 3.66 MB / 0.7749 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.6025, allocations: 4 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.0005972/0.6032, allocations: 122.8 kB / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.6047, allocations: 497.1 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.6059, allocations: 0.5388 MB / 0.776 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.607, allocations: 1.089 MB / 0.7771 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.6074, allocations: 222.6 kB / 0.7773 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.6079, allocations: 446.6 kB / 0.7777 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.6085, allocations: 494.1 kB / 0.7782 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.6087, allocations: 96 kB / 0.7783 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.6097, allocations: 0.5502 MB / 0.7788 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.61, allocations: 243.3 kB / 0.779 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.6104, allocations: 461.7 kB / 0.7795 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.6119, allocations: 1.377 MB / 0.7808 GB, free: 5.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6119, allocations: 4 kB / 0.7808 GB, free: 5.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6119, allocations: 0 / 0.7808 GB, free: 5.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.612, allocations: 0 / 0.7808 GB, free: 5.73 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.002561/0.6145, allocations: 1.219 MB / 0.782 GB, free: 4.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6146, allocations: 8.031 kB / 0.782 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.6177, allocations: 0.593 MB / 0.7826 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.6191, allocations: 0.671 MB / 0.7833 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.6194, allocations: 305.9 kB / 0.7836 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6195, allocations: 75.94 kB / 0.7836 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.6215, allocations: 1.023 MB / 0.7846 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6215, allocations: 0 / 0.7846 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.6216, allocations: 32 kB / 0.7847 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.6216, allocations: 20 kB / 0.7847 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.6239, allocations: 1.038 MB / 0.7857 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.6288, allocations: 2.955 MB / 0.7886 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.6321, allocations: 1.4 MB / 0.7899 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009599/0.633, allocations: 447.5 kB / 0.7904 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/0.6358, allocations: 2.604 MB / 0.7929 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.637, allocations: 0.536 MB / 0.7934 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 3.707e-06/0.6371, allocations: 4 kB / 0.7934 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003235/0.6403, allocations: 1.315 MB / 0.7947 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.6404, allocations: 115.8 kB / 0.7948 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.6411, allocations: 0.5106 MB / 0.7953 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.6412, allocations: 37.7 kB / 0.7954 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.6414, allocations: 328.2 kB / 0.7957 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.6417, allocations: 299.7 kB / 0.796 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.642, allocations: 190.4 kB / 0.7962 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6421, allocations: 378.8 kB / 0.7965 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/0.6431, allocations: 389.7 kB / 0.7969 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.6442, allocations: 0.5394 MB / 0.7974 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.6462, allocations: 0.9136 MB / 0.7983 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6462, allocations: 4 kB / 0.7983 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002537/0.6487, allocations: 1.09 MB / 0.7994 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6488, allocations: 4 kB / 0.7994 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6488, allocations: 4 kB / 0.7994 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.6488, allocations: 11.98 kB / 0.7994 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.65, allocations: 247.8 kB / 0.7996 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.65, allocations: 19.86 kB / 0.7997 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.6509, allocations: 119 kB / 0.7998 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.651, allocations: 47.95 kB / 0.7998 GB, free: 1.215 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.0004006/0.6514, allocations: 227.3 kB / 0.8 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.6516, allocations: 71.06 kB / 0.8001 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.6551, allocations: 1.396 MB / 0.8015 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.6551, allocations: 12 kB / 0.8015 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.6552, allocations: 3.938 kB / 0.8015 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6552, allocations: 7.969 kB / 0.8015 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.659, allocations: 2.211 MB / 0.8036 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6591, allocations: 0 / 0.8036 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6602, allocations: 235.7 kB / 0.8039 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.6602, allocations: 11.94 kB / 0.8039 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.6603, allocations: 31.97 kB / 0.8039 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.6603, allocations: 7.984 kB / 0.8039 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6603, allocations: 0 / 0.8039 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.6628, allocations: 1.216 MB / 0.8051 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.6632, allocations: 267.7 kB / 0.8054 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6633, allocations: 24 kB / 0.8054 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.664, allocations: 59.94 kB / 0.8054 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6642, allocations: 76.89 kB / 0.8055 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/0.6643, allocations: 39.97 kB / 0.8055 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004188/0.6647, allocations: 350.8 kB / 0.8059 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6647, allocations: 4 kB / 0.8059 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009279/0.6656, allocations: 295.6 kB / 0.8062 GB, free: 10.59 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.001257/0.6669, allocations: 0.5263 MB / 0.8067 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.6693, allocations: 1.012 MB / 0.8077 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6694, allocations: 0.75 kB / 0.8077 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.6705, allocations: 0.5677 MB / 0.8082 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.6713, allocations: 119.4 kB / 0.8083 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.6742, allocations: 1.586 MB / 0.8099 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.6747, allocations: 0.966 MB / 0.8108 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.6752, allocations: 131.3 kB / 0.811 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6752, allocations: 0 / 0.811 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.01924/0.6945, allocations: 13.39 MB / 0.824 GB, free: 8.414 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)