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.7788/0.7788, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001048/0.001048, allocations: 176.9 kB / 182.2 MB, free: 9.469 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.317/1.317, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009502/0.0009502, allocations: 88.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 292.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.413e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3698, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.511, allocations: 121.8 MB / 0.8763 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.5113, allocations: 91.81 kB / 0.8764 GB, free: 5.961 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.3965/0.9078, allocations: 25 MB / 0.9008 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9078, allocations: 0 / 0.9008 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.143e-05/0.9079, allocations: 19.8 kB / 0.9008 GB, free: 123.9 MB / 0.5573 GB 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.002011/0.9099, allocations: 1.005 MB / 0.9018 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9099, allocations: 11.17 kB / 0.9018 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.9126, allocations: 0.5084 MB / 0.9023 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.9133, allocations: 498.2 kB / 0.9028 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.9136, allocations: 280.1 kB / 0.9031 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.9137, allocations: 45.22 kB / 0.9031 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/0.9153, allocations: 0.9176 MB / 0.904 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.9167, allocations: 0.8586 MB / 0.9049 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.9167, allocations: 6.406 kB / 0.9049 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.9168, allocations: 1.719 kB / 0.9049 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.9168, allocations: 17.47 kB / 0.9049 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.921, allocations: 2.753 MB / 0.9076 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.9237, allocations: 1.336 MB / 0.9089 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.9244, allocations: 400.8 kB / 0.9093 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/0.9264, allocations: 2.6 MB / 0.9118 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.9271, allocations: 0.4992 MB / 0.9123 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=90): time 2.064e-06/0.9272, allocations: 1.5 kB / 0.9123 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=90): time 0.08547/1.013, allocations: 10.49 MB / 0.9225 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.013, allocations: 135.9 kB / 0.9227 GB, free: 117 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/1.013, allocations: 404.6 kB / 0.923 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.013, allocations: 25.7 kB / 0.9231 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/1.013, allocations: 323 kB / 0.9234 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.014, allocations: 292.3 kB / 0.9237 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/1.014, allocations: 4 kB / 0.9237 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/1.014, allocations: 365.3 kB / 0.924 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/1.014, allocations: 369.8 kB / 0.9244 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/1.015, allocations: 449.3 kB / 0.9248 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08578/1.101, allocations: 10.34 MB / 0.9349 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.101, allocations: 0 / 0.9349 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.08684/1.187, allocations: 10.93 MB / 0.9456 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.188, allocations: 13.06 kB / 0.9456 GB, free: 96.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.188, allocations: 2.625 kB / 0.9456 GB, free: 96.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.188, allocations: 4 kB / 0.9456 GB, free: 96.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.189, allocations: 264.5 kB / 0.9458 GB, free: 95.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.189, allocations: 4 kB / 0.9458 GB, free: 95.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.19, allocations: 179.1 kB / 0.946 GB, free: 95.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/1.19, allocations: 57.53 kB / 0.9461 GB, free: 95.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radWest.outsidePolarCircle,radSouth.outsidePolarCircle,radEast.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.19, allocations: 112.8 kB / 0.9462 GB, free: 95.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.19, allocations: 67.16 kB / 0.9462 GB, free: 95.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07927/1.27, allocations: 10.77 MB / 0.9568 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.27, allocations: 12 kB / 0.9568 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.27, allocations: 0 / 0.9568 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.27, allocations: 7.969 kB / 0.9568 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0789/1.349, allocations: 11.62 MB / 0.9681 GB, free: 73.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.349, allocations: 4 kB / 0.9681 GB, free: 73.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.35, allocations: 273.1 kB / 0.9684 GB, free: 72.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.35, allocations: 4 kB / 0.9684 GB, free: 72.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/1.35, allocations: 19.98 kB / 0.9684 GB, free: 72.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.35, allocations: 4 kB / 0.9684 GB, free: 72.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.35, allocations: 3.953 kB / 0.9684 GB, free: 72.72 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07905/1.429, allocations: 10.61 MB / 0.9788 GB, free: 62.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/1.43, allocations: 295.7 kB / 0.9791 GB, free: 61.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.43, allocations: 4 kB / 0.9791 GB, free: 61.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009496/1.431, allocations: 91.91 kB / 0.9792 GB, free: 61.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.431, allocations: 77.2 kB / 0.9792 GB, free: 61.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/1.431, allocations: 43.92 kB / 0.9793 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002814/1.431, allocations: 302.9 kB / 0.9796 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.431, allocations: 0 / 0.9796 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009145/1.432, allocations: 331.2 kB / 0.9799 GB, free: 60.95 MB / 0.5573 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/1.433, allocations: 488.2 kB / 0.9803 GB, free: 60.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001242/1.435, allocations: 0.9393 MB / 0.9813 GB, free: 59.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.435, allocations: 0 / 0.9813 GB, free: 59.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/1.435, allocations: 0.5359 MB / 0.9818 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/1.436, allocations: 69.09 kB / 0.9818 GB, free: 59.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/1.437, allocations: 1.118 MB / 0.9829 GB, free: 57.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/1.438, allocations: 0.9778 MB / 0.9839 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009657/1.439, allocations: 216.1 kB / 0.9841 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.439, allocations: 103.4 kB / 0.9842 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/1.439, allocations: 7.938 kB / 0.9842 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.01488/1.454, allocations: 11.33 MB / 0.9953 GB, free: 45.46 MB / 0.5573 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)