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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7485/0.7485, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.8 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009308/0.0009307, allocations: 86.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00167/0.00167, allocations: 272.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005207, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3637, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5164, allocations: 120.7 MB / 0.8573 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.5169, allocations: 99.94 kB / 0.8574 GB, free: 5.414 MB / 0.5261 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.07985/0.5967, allocations: 25.25 MB / 0.8821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5968, allocations: 0 / 0.8821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.041e-05/0.5969, allocations: 20 kB / 0.8821 GB, free: 12.05 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.00367/0.6005, allocations: 1.06 MB / 0.8831 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6006, allocations: 8.031 kB / 0.8831 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003638/0.6042, allocations: 0.5071 MB / 0.8836 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6056, allocations: 0.5053 MB / 0.8841 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.606, allocations: 309.9 kB / 0.8844 GB, free: 9.516 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.6063, allocations: 72.38 kB / 0.8845 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/0.6096, allocations: 1.097 MB / 0.8856 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.6097, allocations: 7.875 kB / 0.8856 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.6099, allocations: 36 kB / 0.8856 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.6099, allocations: 20 kB / 0.8856 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.6137, allocations: 1.226 MB / 0.8868 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007181/0.6209, allocations: 2.912 MB / 0.8897 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/0.6261, allocations: 1.669 MB / 0.8913 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.6278, allocations: 0.5503 MB / 0.8918 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3317/0.9595, allocations: 2.59 MB / 0.8944 GB, free: 133 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.9615, allocations: 0.6531 MB / 0.895 GB, free: 133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=90): time 3.797e-06/0.9615, allocations: 0 / 0.895 GB, free: 133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=90): time 0.004391/0.9659, allocations: 1.627 MB / 0.8966 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.966, allocations: 141.5 kB / 0.8967 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.9671, allocations: 0.5803 MB / 0.8973 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.9672, allocations: 40.55 kB / 0.8973 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.9674, allocations: 314.6 kB / 0.8976 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.9677, allocations: 298.8 kB / 0.8979 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.9678, allocations: 16.72 kB / 0.8979 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.968, allocations: 389 kB / 0.8983 GB, free: 132 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.9693, allocations: 0.5008 MB / 0.8988 GB, free: 132 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.9707, allocations: 0.5945 MB / 0.8994 GB, free: 132 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.9734, allocations: 1.026 MB / 0.9004 GB, free: 132 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.9734, allocations: 3.75 kB / 0.9004 GB, free: 132 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003546/0.9769, allocations: 1.282 MB / 0.9016 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.977, allocations: 6.156 kB / 0.9016 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.977, allocations: 0.5312 kB / 0.9016 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.977, allocations: 3.688 kB / 0.9016 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.9785, allocations: 268.8 kB / 0.9019 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.9786, allocations: 3.562 kB / 0.9019 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.9799, allocations: 213.7 kB / 0.9021 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.98, allocations: 47.83 kB / 0.9021 GB, free: 131.8 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 () * Number of clocked 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.0004861/0.9805, allocations: 226.6 kB / 0.9024 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.9807, allocations: 74.78 kB / 0.9024 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.984, allocations: 1.596 MB / 0.904 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.984, allocations: 11.34 kB / 0.904 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9841, allocations: 3.969 kB / 0.904 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.9841, allocations: 6.703 kB / 0.904 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.9879, allocations: 2.532 MB / 0.9065 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.9879, allocations: 0 / 0.9065 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.9891, allocations: 278.9 kB / 0.9067 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.9891, allocations: 3.938 kB / 0.9068 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.9892, allocations: 31.5 kB / 0.9068 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.9892, allocations: 3.969 kB / 0.9068 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9893, allocations: 3.906 kB / 0.9068 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.9918, allocations: 1.42 MB / 0.9082 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.9923, allocations: 305.8 kB / 0.9085 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.9924, allocations: 19.84 kB / 0.9085 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.9932, allocations: 122.4 kB / 0.9086 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.9934, allocations: 81.38 kB / 0.9087 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.023e-05/0.9935, allocations: 42.05 kB / 0.9087 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004511/0.9939, allocations: 416.6 kB / 0.9091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9939, allocations: 0 / 0.9091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009842/0.9949, allocations: 345.3 kB / 0.9094 GB, free: 129.8 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) * Number of clocked states: 0 () * 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.001153/0.9961, allocations: 0.5666 MB / 0.91 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.9986, allocations: 1.24 MB / 0.9112 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9986, allocations: 3.219 kB / 0.9112 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.9998, allocations: 0.6865 MB / 0.9119 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/1, allocations: 109.4 kB / 0.912 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/1.004, allocations: 1.982 MB / 0.9139 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/1.004, allocations: 0.9659 MB / 0.9149 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001253/1.005, allocations: 224.3 kB / 0.9151 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.006, allocations: 112.9 kB / 0.9152 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.353e-06/1.006, allocations: 0 / 0.9152 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.02099/1.027, allocations: 12.23 MB / 0.9271 GB, free: 122 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)