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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.7527/0.7527, allocations: 143.4 MB / 159.2 MB, free: 4.855 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.5 kB / 191.9 MB, free: 5.727 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.372/1.372, allocations: 222.9 MB / 447.3 MB, free: 5.84 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.001072/0.001072, allocations: 99.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.001901, allocations: 279.6 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 83.86 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.339, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.004324/0.3434, allocations: 4.382 MB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.3478, allocations: 3.672 MB / 0.7758 GB, free: 19.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.3482, allocations: 7.938 kB / 0.7758 GB, free: 19.56 MB / 458.7 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.0003797/0.3486, allocations: 92.44 kB / 0.7759 GB, free: 19.47 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.3495, allocations: 410 kB / 0.7763 GB, free: 19.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.3503, allocations: 474.2 kB / 0.7767 GB, free: 18.61 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.3509, allocations: 1.015 MB / 0.7777 GB, free: 17.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.3512, allocations: 223.1 kB / 0.7779 GB, free: 17.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3515, allocations: 386.5 kB / 0.7783 GB, free: 16.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.352, allocations: 478 kB / 0.7787 GB, free: 16.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3521, allocations: 52 kB / 0.7788 GB, free: 16.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007172/0.3528, allocations: 0.4995 MB / 0.7793 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.353, allocations: 211.1 kB / 0.7795 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3533, allocations: 421.7 kB / 0.7799 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.3543, allocations: 1.305 MB / 0.7812 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3543, allocations: 0 / 0.7812 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3543, allocations: 0 / 0.7812 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3543, allocations: 0 / 0.7812 GB, free: 14.02 MB / 458.7 MB 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.002135/0.3564, allocations: 1.219 MB / 0.7824 GB, free: 12.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3565, allocations: 12.03 kB / 0.7824 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.3595, allocations: 0.5891 MB / 0.7829 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.3607, allocations: 0.6554 MB / 0.7836 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.3609, allocations: 313.9 kB / 0.7839 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.361, allocations: 79.94 kB / 0.784 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.3626, allocations: 1.007 MB / 0.7849 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3626, allocations: 0 / 0.7849 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.3627, allocations: 35.98 kB / 0.785 GB, free: 9.938 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3627, allocations: 24 kB / 0.785 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3647, allocations: 1.038 MB / 0.786 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.3687, allocations: 2.947 MB / 0.7889 GB, free: 5.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.3717, allocations: 1.402 MB / 0.7903 GB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/0.3726, allocations: 449 kB / 0.7907 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.3745, allocations: 2.597 MB / 0.7932 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.3755, allocations: 0.5476 MB / 0.7938 GB, free: 224 kB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 2.715e-06/0.3755, allocations: 0 / 0.7938 GB, free: 224 kB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.00319/0.3787, allocations: 1.308 MB / 0.795 GB, free: 14.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3788, allocations: 115.8 kB / 0.7951 GB, free: 14.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.3794, allocations: 0.5107 MB / 0.7956 GB, free: 14.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.3794, allocations: 41.7 kB / 0.7957 GB, free: 14.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.3797, allocations: 332 kB / 0.796 GB, free: 13.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.3799, allocations: 295.7 kB / 0.7963 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.3802, allocations: 190.4 kB / 0.7965 GB, free: 13.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3803, allocations: 382.7 kB / 0.7968 GB, free: 13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/0.3813, allocations: 389.7 kB / 0.7972 GB, free: 12.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.3824, allocations: 0.5356 MB / 0.7977 GB, free: 12.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.3844, allocations: 0.9175 MB / 0.7986 GB, free: 11.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3844, allocations: 4 kB / 0.7986 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002457/0.3869, allocations: 1.094 MB / 0.7997 GB, free: 9.973 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3869, allocations: 12.09 kB / 0.7997 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3869, allocations: 4 kB / 0.7997 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3869, allocations: 11.94 kB / 0.7997 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.3881, allocations: 243.6 kB / 0.7999 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3881, allocations: 15.92 kB / 0.8 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.389, allocations: 126.9 kB / 0.8001 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.3891, allocations: 47.95 kB / 0.8001 GB, free: 9.52 MB / 474.7 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.0003282/0.3894, allocations: 223.5 kB / 0.8003 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3895, allocations: 75.06 kB / 0.8004 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.3928, allocations: 1.392 MB / 0.8018 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3928, allocations: 16 kB / 0.8018 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3928, allocations: 4 kB / 0.8018 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.3928, allocations: 15.91 kB / 0.8018 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.3966, allocations: 2.191 MB / 0.8039 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3966, allocations: 0 / 0.8039 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.3977, allocations: 247.6 kB / 0.8042 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3977, allocations: 4 kB / 0.8042 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.3978, allocations: 31.91 kB / 0.8042 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/0.3978, allocations: 4 kB / 0.8042 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3978, allocations: 0 / 0.8042 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.4016, allocations: 2.427 MB / 0.8066 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.402, allocations: 263.8 kB / 0.8068 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.4022, allocations: 20 kB / 0.8069 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.4029, allocations: 65.59 kB / 0.8069 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.4031, allocations: 72.89 kB / 0.807 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/0.4032, allocations: 43.98 kB / 0.807 GB, free: 2.293 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003805/0.4035, allocations: 354.8 kB / 0.8074 GB, free: 1.949 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4035, allocations: 0 / 0.8074 GB, free: 1.949 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008964/0.4044, allocations: 307.6 kB / 0.8077 GB, free: 1.648 MB / 474.7 MB 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.001112/0.4056, allocations: 0.5266 MB / 0.8082 GB, free: 1.266 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.4078, allocations: 1.016 MB / 0.8092 GB, free: 256 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4078, allocations: 4 kB / 0.8092 GB, free: 252 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.409, allocations: 0.5679 MB / 0.8097 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.4096, allocations: 111 kB / 0.8098 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.4129, allocations: 2.451 MB / 0.8122 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.4135, allocations: 0.9976 MB / 0.8132 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.4146, allocations: 217.9 kB / 0.8134 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.415, allocations: 115.3 kB / 0.8135 GB, free: 11.72 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.415, allocations: 0 / 0.8135 GB, free: 11.72 MB / 490.7 MB Notification: Performance of Templates: time 0.01881/0.4339, allocations: 12 MB / 0.8252 GB, free: 15.79 MB / 0.4948 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)