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.0009858/0.0009859, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007196/0.007196, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 274.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9613/0.9613, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 15.41 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.004522/0.1597, allocations: 3.983 MB / 0.689 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.165, allocations: 3.644 MB / 0.6926 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.1653, allocations: 7.938 kB / 0.6926 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1656, allocations: 79.33 kB / 0.6927 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1667, allocations: 414 kB / 0.6931 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1678, allocations: 494.1 kB / 0.6935 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.1687, allocations: 1.011 MB / 0.6945 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.1691, allocations: 210.3 kB / 0.6947 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.1695, allocations: 366.5 kB / 0.6951 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.17, allocations: 440.4 kB / 0.6955 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.1701, allocations: 40 kB / 0.6955 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007916/0.1709, allocations: 495.5 kB / 0.696 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.1711, allocations: 199.2 kB / 0.6962 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.1715, allocations: 419.4 kB / 0.6966 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1727, allocations: 1.293 MB / 0.6978 GB, free: 1.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1728, allocations: 4 kB / 0.6978 GB, free: 1.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1728, allocations: 0 / 0.6978 GB, free: 1.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1728, allocations: 0 / 0.6978 GB, free: 1.988 MB / 494.1 MB 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.002201/0.175, allocations: 1.028 MB / 0.6989 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.175, allocations: 12.03 kB / 0.6989 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.1783, allocations: 0.6086 MB / 0.6995 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.1797, allocations: 0.6633 MB / 0.7001 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.18, allocations: 305.8 kB / 0.7004 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1802, allocations: 79.94 kB / 0.7005 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.1821, allocations: 1.034 MB / 0.7015 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1821, allocations: 3.938 kB / 0.7015 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.1822, allocations: 36 kB / 0.7015 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.1823, allocations: 20 kB / 0.7015 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.1846, allocations: 1.046 MB / 0.7026 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.1895, allocations: 2.959 MB / 0.7055 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.1928, allocations: 1.41 MB / 0.7068 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.1938, allocations: 457.3 kB / 0.7073 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/0.1964, allocations: 2.593 MB / 0.7098 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.1975, allocations: 0.5477 MB / 0.7103 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 4.909e-06/0.1975, allocations: 0 / 0.7103 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003251/0.2008, allocations: 1.331 MB / 0.7116 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.2009, allocations: 111.8 kB / 0.7117 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.2015, allocations: 0.5106 MB / 0.7122 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.2016, allocations: 41.7 kB / 0.7123 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.2018, allocations: 340 kB / 0.7126 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.2021, allocations: 287.8 kB / 0.7129 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2022, allocations: 77.67 kB / 0.7129 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2024, allocations: 378.8 kB / 0.7133 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/0.2034, allocations: 393.7 kB / 0.7137 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.2044, allocations: 0.5355 MB / 0.7142 GB, free: 212 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.2065, allocations: 0.9214 MB / 0.7151 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2065, allocations: 8 kB / 0.7151 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002466/0.209, allocations: 1.102 MB / 0.7162 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.209, allocations: 7.938 kB / 0.7162 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.209, allocations: 4 kB / 0.7162 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2091, allocations: 8 kB / 0.7162 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.2103, allocations: 247.8 kB / 0.7164 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.2104, allocations: 15.94 kB / 0.7165 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.2113, allocations: 126.9 kB / 0.7166 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.2114, allocations: 47.95 kB / 0.7166 GB, free: 13.68 MB / 0.5137 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.0003941/0.2118, allocations: 240.3 kB / 0.7169 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2119, allocations: 67.16 kB / 0.7169 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.2155, allocations: 1.407 MB / 0.7183 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.2156, allocations: 12 kB / 0.7183 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.2156, allocations: 3.938 kB / 0.7183 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.2156, allocations: 7.922 kB / 0.7183 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.2197, allocations: 2.203 MB / 0.7205 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.2197, allocations: 0 / 0.7205 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.2209, allocations: 247.6 kB / 0.7207 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.2209, allocations: 7.938 kB / 0.7207 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.221, allocations: 31.98 kB / 0.7207 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.221, allocations: 7.938 kB / 0.7208 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.221, allocations: 7.922 kB / 0.7208 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.2236, allocations: 1.214 MB / 0.7219 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.224, allocations: 279.6 kB / 0.7222 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.2241, allocations: 28 kB / 0.7222 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.2249, allocations: 74.88 kB / 0.7223 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.2251, allocations: 72.89 kB / 0.7224 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/0.2252, allocations: 39.97 kB / 0.7224 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004335/0.2256, allocations: 354.8 kB / 0.7228 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2256, allocations: 0 / 0.7228 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001033/0.2266, allocations: 307.6 kB / 0.7231 GB, free: 6.992 MB / 0.5137 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.001287/0.2279, allocations: 0.5201 MB / 0.7236 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.2303, allocations: 1.02 MB / 0.7246 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2304, allocations: 0 / 0.7246 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.2315, allocations: 0.5758 MB / 0.7251 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.2323, allocations: 105.8 kB / 0.7252 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.2354, allocations: 1.954 MB / 0.7271 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.236, allocations: 0.9703 MB / 0.7281 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001057/0.237, allocations: 221.8 kB / 0.7283 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.2374, allocations: 115.3 kB / 0.7284 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.2374, allocations: 0 / 0.7284 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of Templates: time 0.02049/0.2579, allocations: 11.53 MB / 0.7397 GB, free: 6.141 MB / 0.5294 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)