Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_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.001543/0.001543, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001507/0.001507, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 76.67 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.74, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009415/0.7495, allocations: 6.997 MB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1956/0.9451, allocations: 155.6 MB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.9469, allocations: 23.88 kB / 1.242 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.9519, allocations: 1.805 MB / 1.243 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.9551, allocations: 0.8927 MB / 1.244 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.9579, allocations: 1.029 MB / 1.245 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004231/0.9621, allocations: 3.649 MB / 1.249 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.9635, allocations: 0.929 MB / 1.25 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.9653, allocations: 1.177 MB / 1.251 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.9667, allocations: 1.066 MB / 1.252 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003108/0.967, allocations: 200 kB / 1.252 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.9716, allocations: 2.216 MB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.9729, allocations: 1.365 MB / 1.256 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.9741, allocations: 1.03 MB / 1.257 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005729/0.9798, allocations: 3.946 MB / 1.261 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9798, allocations: 0 / 1.261 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9798, allocations: 0 / 1.261 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.232e-05/0.9799, allocations: 0 / 1.261 GB, free: 8.355 MB / 0.9825 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.004616/0.9845, allocations: 2.605 MB / 1.263 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9845, allocations: 12.02 kB / 1.263 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.9854, allocations: 266.2 kB / 1.263 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.989, allocations: 2.993 MB / 1.266 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.9891, allocations: 114.4 kB / 1.266 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.9893, allocations: 156 kB / 1.267 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.9918, allocations: 1.534 MB / 1.268 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.9919, allocations: 4 kB / 1.268 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.992, allocations: 55.98 kB / 1.268 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.992, allocations: 32 kB / 1.268 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.9945, allocations: 1.605 MB / 1.27 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008678/1.003, allocations: 5.78 MB / 1.275 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/1.006, allocations: 1.438 MB / 1.277 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.007, allocations: 0.8823 MB / 1.278 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/1.007, allocations: 37.17 kB / 1.278 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/1.008, allocations: 0.9537 MB / 1.279 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.866e-06/1.008, allocations: 0 / 1.279 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004485/1.013, allocations: 2.672 MB / 1.281 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/1.013, allocations: 324.2 kB / 1.282 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005875/1.019, allocations: 4.385 MB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004194/1.019, allocations: 57.7 kB / 1.286 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000735/1.02, allocations: 0.6852 MB / 1.287 GB, free: 13.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/1.021, allocations: 351 kB / 1.287 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.022, allocations: 1.083 MB / 1.288 GB, free: 11.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.022, allocations: 305.1 kB / 1.288 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007429/1.029, allocations: 7.035 MB / 1.295 GB, free: 4.535 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008181/1.038, allocations: 7.309 MB / 1.302 GB, free: 13.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009862/1.047, allocations: 8.995 MB / 1.311 GB, free: 4.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.048, allocations: 0 / 1.311 GB, free: 4.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01826/1.066, allocations: 15.86 MB / 1.326 GB, free: 4.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/1.066, allocations: 160 kB / 1.327 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.066, allocations: 4 kB / 1.327 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.066, allocations: 7.938 kB / 1.327 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.068, allocations: 323.6 kB / 1.327 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.068, allocations: 11.98 kB / 1.327 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.069, allocations: 194 kB / 1.327 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.069, allocations: 79.97 kB / 1.327 GB, free: 3.492 MB / 1.045 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.001216/1.07, allocations: 0.8409 MB / 1.328 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/1.071, allocations: 150.1 kB / 1.328 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.075, allocations: 2.387 MB / 1.331 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.075, allocations: 8 kB / 1.331 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.075, allocations: 4 kB / 1.331 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.075, allocations: 3.984 kB / 1.331 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/1.076, allocations: 1.353 MB / 1.332 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.077, allocations: 0 / 1.332 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/1.077, allocations: 155.8 kB / 1.332 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.077, allocations: 4 kB / 1.332 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/1.077, allocations: 39.97 kB / 1.332 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.077, allocations: 4 kB / 1.332 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.077, allocations: 4 kB / 1.332 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/1.081, allocations: 2.244 MB / 1.334 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/1.082, allocations: 402.8 kB / 1.335 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/1.082, allocations: 31.89 kB / 1.335 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/1.083, allocations: 79.92 kB / 1.335 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.083, allocations: 80.89 kB / 1.335 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.083, allocations: 51.97 kB / 1.335 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003306/1.086, allocations: 2.795 MB / 1.338 GB, free: 8.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.086, allocations: 0 / 1.338 GB, free: 8.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003517/1.09, allocations: 1.077 MB / 1.339 GB, free: 7.652 MB / 1.061 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.003189/1.093, allocations: 0.9506 MB / 1.34 GB, free: 6.875 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.106, allocations: 11.14 MB / 1.35 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.106, allocations: 4.125 kB / 1.35 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/1.109, allocations: 1.524 MB / 1.352 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.11, allocations: 358.5 kB / 1.352 GB, free: 9.852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/1.117, allocations: 4.247 MB / 1.356 GB, free: 5.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.118, allocations: 1.372 MB / 1.358 GB, free: 4.164 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/1.119, allocations: 155.4 kB / 1.358 GB, free: 4.012 MB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/1.119, allocations: 0 / 1.358 GB, free: 4.012 MB / 1.076 GB Notification: Performance of Templates: time 0.05724/1.176, allocations: 34.88 MB / 1.392 GB, free: 1.625 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)