Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.00182/0.00182, allocations: 187 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.83 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8675, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01011/0.8776, allocations: 8.216 MB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1721/1.05, allocations: 159.5 MB / 1.372 GB, free: 5.227 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/1.051, allocations: 39.81 kB / 1.372 GB, free: 5.188 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005685/1.057, allocations: 1.989 MB / 1.374 GB, free: 3.191 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003937/1.061, allocations: 1.263 MB / 1.375 GB, free: 1.926 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/1.065, allocations: 1.456 MB / 1.377 GB, free: 488 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006173/1.071, allocations: 5.454 MB / 1.382 GB, free: 11.02 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/1.073, allocations: 1.112 MB / 1.383 GB, free: 9.855 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/1.076, allocations: 1.695 MB / 1.385 GB, free: 8.156 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/1.079, allocations: 1.495 MB / 1.386 GB, free: 6.656 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/1.08, allocations: 280 kB / 1.387 GB, free: 6.383 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/1.085, allocations: 2.356 MB / 1.389 GB, free: 4.023 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003321/1.089, allocations: 2.84 MB / 1.392 GB, free: 1.18 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003042/1.092, allocations: 1.403 MB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009094/1.101, allocations: 5.173 MB / 1.398 GB, free: 10.58 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.101, allocations: 0 / 1.398 GB, free: 10.58 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.443e-06/1.101, allocations: 0 / 1.398 GB, free: 10.58 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001964/1.101, allocations: 0 / 1.398 GB, free: 10.58 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.008322/1.109, allocations: 3.385 MB / 1.401 GB, free: 7.121 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.109, allocations: 8.031 kB / 1.401 GB, free: 7.113 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.111, allocations: 361.3 kB / 1.402 GB, free: 6.758 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00782/1.119, allocations: 7.453 MB / 1.409 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/1.119, allocations: 142.9 kB / 1.409 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.119, allocations: 184 kB / 1.409 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/1.122, allocations: 1.964 MB / 1.411 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.122, allocations: 0 / 1.411 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.122, allocations: 64 kB / 1.411 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/1.122, allocations: 36 kB / 1.411 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/1.126, allocations: 1.986 MB / 1.413 GB, free: 10.78 MB / 1.139 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.01312/1.139, allocations: 10.58 MB / 1.424 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/1.142, allocations: 1.783 MB / 1.425 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/1.143, allocations: 1.089 MB / 1.426 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/1.143, allocations: 37.02 kB / 1.427 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/1.145, allocations: 1.188 MB / 1.428 GB, free: 11.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=117): time 5.42e-06/1.145, allocations: 0 / 1.428 GB, free: 11.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=117): time 0.007161/1.152, allocations: 3.455 MB / 1.431 GB, free: 8.348 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002655/1.152, allocations: 342.5 kB / 1.431 GB, free: 7.965 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/1.167, allocations: 11.58 MB / 1.443 GB, free: 12.35 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004767/1.167, allocations: 61.7 kB / 1.443 GB, free: 12.28 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/1.168, allocations: 0.9724 MB / 1.444 GB, free: 11.3 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/1.169, allocations: 406.4 kB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/1.171, allocations: 2.672 MB / 1.447 GB, free: 8.203 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.171, allocations: 305.1 kB / 1.447 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01785/1.189, allocations: 20.11 MB / 1.467 GB, free: 3.785 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01971/1.209, allocations: 20.7 MB / 1.487 GB, free: 15.03 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02346/1.232, allocations: 23.57 MB / 1.51 GB, free: 7.332 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.232, allocations: 4 kB / 1.51 GB, free: 7.328 MB / 1.232 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04523/1.278, allocations: 44.23 MB / 1.553 GB, free: 10.96 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/1.278, allocations: 165.7 kB / 1.553 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.278, allocations: 7.984 kB / 1.553 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/1.279, allocations: 88.78 kB / 1.553 GB, free: 10.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.28, allocations: 407.4 kB / 1.554 GB, free: 10.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.283, allocations: 1.649 MB / 1.555 GB, free: 8.504 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.285, allocations: 235.6 kB / 1.556 GB, free: 8.273 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/1.285, allocations: 115.9 kB / 1.556 GB, free: 8.16 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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.002389/1.288, allocations: 1.54 MB / 1.557 GB, free: 6.605 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/1.289, allocations: 217.1 kB / 1.557 GB, free: 6.391 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/1.294, allocations: 2.941 MB / 1.56 GB, free: 3.422 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.294, allocations: 12 kB / 1.56 GB, free: 3.41 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.294, allocations: 0 / 1.56 GB, free: 3.41 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.294, allocations: 7.969 kB / 1.56 GB, free: 3.402 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/1.297, allocations: 1.789 MB / 1.562 GB, free: 1.559 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.297, allocations: 0 / 1.562 GB, free: 1.559 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/1.298, allocations: 187.7 kB / 1.562 GB, free: 1.375 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/1.298, allocations: 68.78 kB / 1.562 GB, free: 1.305 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.298, allocations: 39.97 kB / 1.562 GB, free: 1.266 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6632/1.962, allocations: 1.652 MB / 1.564 GB, free: 350.7 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.962, allocations: 0.75 kB / 1.564 GB, free: 350.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006571/1.968, allocations: 2.775 MB / 1.567 GB, free: 350.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.969, allocations: 498.1 kB / 1.567 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.97, allocations: 30.98 kB / 1.567 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/1.971, allocations: 75.88 kB / 1.567 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/1.971, allocations: 96.62 kB / 1.567 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.971, allocations: 63.42 kB / 1.567 GB, free: 350.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007532/1.979, allocations: 7.264 MB / 1.574 GB, free: 348 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.61e-07/1.979, allocations: 1.312 kB / 1.574 GB, free: 348 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00338/1.982, allocations: 1.386 MB / 1.576 GB, free: 348 MB / 1.279 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.002375/1.984, allocations: 0.9639 MB / 1.577 GB, free: 347.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.003, allocations: 26.77 MB / 1.603 GB, free: 324.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/2.003, allocations: 0 / 1.603 GB, free: 324.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/2.006, allocations: 1.907 MB / 1.605 GB, free: 323.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/2.008, allocations: 450.5 kB / 1.605 GB, free: 322.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/2.016, allocations: 6.711 MB / 1.612 GB, free: 316.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/2.017, allocations: 1.716 MB / 1.613 GB, free: 315.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/2.017, allocations: 209.5 kB / 1.614 GB, free: 315.1 MB / 1.279 GB Notification: Performance of SimCode: time 8.21e-07/2.017, allocations: 0 / 1.614 GB, free: 315.1 MB / 1.279 GB Notification: Performance of Templates: time 0.07127/2.089, allocations: 64.17 MB / 1.676 GB, free: 252.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)