Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001947/0.001947, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.14 kB / 0.9115 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3859, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008615/0.3946, allocations: 6.949 MB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.5699, allocations: 153.4 MB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.5718, allocations: 19.88 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.5766, allocations: 1.662 MB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.5794, allocations: 0.7919 MB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.5818, allocations: 0.9264 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.5854, allocations: 3.653 MB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.5867, allocations: 0.9251 MB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.5884, allocations: 1.231 MB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.5896, allocations: 1.086 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.5898, allocations: 200 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.5933, allocations: 2.212 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.5944, allocations: 1.365 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009147/0.5953, allocations: 1.03 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.6002, allocations: 3.954 MB / 1.243 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6002, allocations: 7.938 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6002, allocations: 0 / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.6002, allocations: 3.938 kB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004553/0.6048, allocations: 2.601 MB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6048, allocations: 8.031 kB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.6056, allocations: 270.2 kB / 1.246 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/0.6089, allocations: 2.997 MB / 1.249 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.598e-05/0.609, allocations: 114.4 kB / 1.249 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.6092, allocations: 152 kB / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.497/1.106, allocations: 1.535 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.106, allocations: 0.8438 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.106, allocations: 55.73 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/1.106, allocations: 29.56 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/1.109, allocations: 1.609 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/1.116, allocations: 5.775 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/1.118, allocations: 1.433 MB / 1.259 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/1.119, allocations: 0.8859 MB / 1.26 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/1.119, allocations: 35.42 kB / 1.26 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1.121, allocations: 0.9591 MB / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.845e-06/1.121, allocations: 2.938 kB / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004033/1.125, allocations: 2.664 MB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/1.125, allocations: 328.7 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/1.13, allocations: 4.38 MB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.13, allocations: 65.69 kB / 1.268 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/1.131, allocations: 0.6899 MB / 1.269 GB, free: 178 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/1.131, allocations: 346.1 kB / 1.269 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009661/1.132, allocations: 1.074 MB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.919e-05/1.132, allocations: 308.4 kB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006383/1.138, allocations: 7.038 MB / 1.277 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006584/1.145, allocations: 7.307 MB / 1.285 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/1.152, allocations: 8.999 MB / 1.293 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.152, allocations: 0 / 1.293 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01165/1.164, allocations: 15.87 MB / 1.309 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.164, allocations: 152.4 kB / 1.309 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.164, allocations: 0 / 1.309 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.164, allocations: 8 kB / 1.309 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.165, allocations: 321.5 kB / 1.309 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.165, allocations: 8 kB / 1.309 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.166, allocations: 201.5 kB / 1.309 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.166, allocations: 78.12 kB / 1.31 GB, free: 150.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * 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.0009121/1.167, allocations: 0.8377 MB / 1.31 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/1.167, allocations: 158.8 kB / 1.311 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/1.17, allocations: 2.378 MB / 1.313 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.17, allocations: 8 kB / 1.313 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.17, allocations: 4 kB / 1.313 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/1.17, allocations: 3.984 kB / 1.313 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.172, allocations: 1.363 MB / 1.314 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.172, allocations: 0 / 1.314 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/1.172, allocations: 155.7 kB / 1.314 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.172, allocations: 8 kB / 1.314 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/1.172, allocations: 35.97 kB / 1.314 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.172, allocations: 4 kB / 1.314 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.172, allocations: 3.938 kB / 1.314 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/1.175, allocations: 2.245 MB / 1.317 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.175, allocations: 406.6 kB / 1.317 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.176, allocations: 32 kB / 1.317 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/1.176, allocations: 73.17 kB / 1.317 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.177, allocations: 80.88 kB / 1.317 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/1.177, allocations: 57.72 kB / 1.317 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001716/1.178, allocations: 2.807 MB / 1.32 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.31e-07/1.178, allocations: 0 / 1.32 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001696/1.18, allocations: 1.073 MB / 1.321 GB, free: 139.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.001943/1.182, allocations: 0.9465 MB / 1.322 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008115/1.19, allocations: 11.15 MB / 1.333 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.19, allocations: 0 / 1.333 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.192, allocations: 1.524 MB / 1.334 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.193, allocations: 364.9 kB / 1.335 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/1.199, allocations: 6.448 MB / 1.341 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009592/1.2, allocations: 1.779 MB / 1.343 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009532/1.201, allocations: 390.4 kB / 1.343 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/1.201, allocations: 147.4 kB / 1.343 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.201, allocations: 0 / 1.343 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04518/1.246, allocations: 32.35 MB / 1.375 GB, free: 84.92 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)