Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 104.9 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.001107/0.001107, allocations: 189.8 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.75 kB / 0.8699 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008534/0.2853, allocations: 6.987 MB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7174/1.003, allocations: 155.4 MB / 1.176 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/1.005, allocations: 27.91 kB / 1.177 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006016/1.011, allocations: 1.81 MB / 1.178 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/1.014, allocations: 0.8905 MB / 1.179 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/1.017, allocations: 0.9814 MB / 1.18 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003697/1.021, allocations: 2.567 MB / 1.183 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/1.022, allocations: 0.9375 MB / 1.184 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/1.024, allocations: 0.9014 MB / 1.184 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/1.026, allocations: 0.9335 MB / 1.185 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006686/1.027, allocations: 185.2 kB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/1.032, allocations: 2.228 MB / 1.188 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/1.034, allocations: 1.154 MB / 1.189 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002058/1.036, allocations: 0.9451 MB / 1.19 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006932/1.043, allocations: 3.715 MB / 1.193 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.043, allocations: 0 / 1.193 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/1.043, allocations: 2.844 kB / 1.193 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001157/1.043, allocations: 0 / 1.193 GB, free: 1.34 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00635/1.049, allocations: 2.383 MB / 1.196 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.049, allocations: 10.42 kB / 1.196 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.05, allocations: 259.8 kB / 1.196 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/1.054, allocations: 2.915 MB / 1.199 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/1.054, allocations: 101.4 kB / 1.199 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.055, allocations: 132 kB / 1.199 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/1.057, allocations: 1.358 MB / 1.2 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.057, allocations: 0 / 1.2 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.057, allocations: 56.36 kB / 1.2 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/1.058, allocations: 29.72 kB / 1.2 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/1.06, allocations: 1.501 MB / 1.202 GB, free: 12.3 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008475/1.068, allocations: 5.615 MB / 1.207 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.071, allocations: 1.123 MB / 1.208 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/1.072, allocations: 451.6 kB / 1.209 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/1.072, allocations: 37.09 kB / 1.209 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.073, allocations: 0.6514 MB / 1.21 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=100): time 2.966e-06/1.073, allocations: 3.938 kB / 1.21 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100): time 0.004227/1.077, allocations: 1.656 MB / 1.211 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.077, allocations: 188.9 kB / 1.211 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005327/1.083, allocations: 4.11 MB / 1.215 GB, free: 14.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/1.083, allocations: 53.7 kB / 1.215 GB, free: 14.87 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007427/1.084, allocations: 0.6452 MB / 1.216 GB, free: 14.22 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/1.084, allocations: 339.2 kB / 1.216 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.085, allocations: 0.9547 MB / 1.217 GB, free: 12.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.085, allocations: 301.1 kB / 1.218 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006211/1.092, allocations: 6.339 MB / 1.224 GB, free: 6.281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006897/1.099, allocations: 6.577 MB / 1.23 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00826/1.107, allocations: 7.467 MB / 1.238 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.107, allocations: 0 / 1.238 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01557/1.122, allocations: 14.16 MB / 1.251 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.122, allocations: 4 kB / 1.251 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.122, allocations: 4 kB / 1.251 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/1.123, allocations: 80.84 kB / 1.251 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.124, allocations: 251.6 kB / 1.252 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.126, allocations: 1.631 MB / 1.253 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/1.128, allocations: 147.9 kB / 1.253 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.128, allocations: 57.14 kB / 1.253 GB, free: 7.629 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 146 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001047/1.129, allocations: 0.618 MB / 1.254 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/1.129, allocations: 134.4 kB / 1.254 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/1.133, allocations: 1.49 MB / 1.256 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.133, allocations: 12 kB / 1.256 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.133, allocations: 0 / 1.256 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.133, allocations: 3.984 kB / 1.256 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.135, allocations: 1.3 MB / 1.257 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.135, allocations: 7.938 kB / 1.257 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/1.136, allocations: 187.7 kB / 1.257 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/1.136, allocations: 68.78 kB / 1.257 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/1.136, allocations: 31.97 kB / 1.257 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.138, allocations: 1.662 MB / 1.259 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.138, allocations: 3.984 kB / 1.259 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/1.141, allocations: 1.27 MB / 1.26 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/1.141, allocations: 358.9 kB / 1.26 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/1.142, allocations: 27.91 kB / 1.26 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.142, allocations: 75.92 kB / 1.261 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.143, allocations: 92.88 kB / 1.261 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.143, allocations: 44.02 kB / 1.261 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002486/1.145, allocations: 2.638 MB / 1.263 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.61e-07/1.145, allocations: 3.938 kB / 1.263 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002256/1.147, allocations: 1.01 MB / 1.264 GB, free: 12.34 MB / 0.9669 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002698/1.15, allocations: 0.9475 MB / 1.265 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009106/1.159, allocations: 8.685 MB / 1.274 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.159, allocations: 0 / 1.274 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.161, allocations: 0.6641 MB / 1.274 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.162, allocations: 368.2 kB / 1.275 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/1.167, allocations: 3.459 MB / 1.278 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.168, allocations: 1.313 MB / 1.279 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/1.169, allocations: 163.4 kB / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.169, allocations: 0 / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.05101/1.22, allocations: 38.43 MB / 1.317 GB, free: 6.949 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)