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.001253/0.001253, allocations: 109.4 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.001522/0.001522, allocations: 191 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8922/0.8937, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009707/0.9034, allocations: 8.204 MB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1699/1.073, allocations: 159.5 MB / 1.372 GB, free: 5.277 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/1.075, allocations: 35.81 kB / 1.372 GB, free: 5.242 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005655/1.081, allocations: 1.986 MB / 1.374 GB, free: 3.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/1.085, allocations: 1.279 MB / 1.375 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/1.089, allocations: 1.444 MB / 1.377 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006376/1.095, allocations: 5.45 MB / 1.382 GB, free: 11.07 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/1.097, allocations: 1.116 MB / 1.383 GB, free: 9.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/1.101, allocations: 1.699 MB / 1.385 GB, free: 8.207 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/1.105, allocations: 1.502 MB / 1.386 GB, free: 6.699 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/1.106, allocations: 276 kB / 1.387 GB, free: 6.43 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/1.111, allocations: 2.356 MB / 1.389 GB, free: 4.07 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003165/1.114, allocations: 2.84 MB / 1.392 GB, free: 1.227 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/1.117, allocations: 1.399 MB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009011/1.126, allocations: 5.176 MB / 1.398 GB, free: 10.63 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.126, allocations: 4 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.062e-06/1.126, allocations: 0 / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001516/1.126, allocations: 0 / 1.398 GB, free: 10.62 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.01014/1.136, allocations: 3.385 MB / 1.401 GB, free: 7.164 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.136, allocations: 8.031 kB / 1.401 GB, free: 7.156 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/1.138, allocations: 361.3 kB / 1.402 GB, free: 6.801 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009121/1.147, allocations: 7.445 MB / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.147, allocations: 142.9 kB / 1.409 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/1.148, allocations: 187.9 kB / 1.409 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/1.151, allocations: 1.96 MB / 1.411 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/1.151, allocations: 4 kB / 1.411 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.151, allocations: 68 kB / 1.411 GB, free: 12.85 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/1.151, allocations: 36 kB / 1.411 GB, free: 12.81 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/1.155, allocations: 1.978 MB / 1.413 GB, free: 10.83 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.01594/1.171, allocations: 10.59 MB / 1.424 GB, free: 12 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/1.174, allocations: 1.776 MB / 1.425 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.176, allocations: 1.091 MB / 1.426 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.176, allocations: 37.09 kB / 1.427 GB, free: 13.1 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/1.178, allocations: 1.195 MB / 1.428 GB, free: 11.89 MB / 1.154 GB Notification: Performance of pre-optimization done (n=117): time 4.889e-06/1.178, allocations: 4 kB / 1.428 GB, free: 11.89 MB / 1.154 GB Notification: Performance of matching and sorting (n=117): time 0.007163/1.185, allocations: 3.447 MB / 1.431 GB, free: 8.398 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002423/1.185, allocations: 346.5 kB / 1.431 GB, free: 8.012 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01546/1.2, allocations: 11.58 MB / 1.443 GB, free: 12.4 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/1.201, allocations: 65.7 kB / 1.443 GB, free: 12.33 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.202, allocations: 0.9646 MB / 1.444 GB, free: 11.35 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006748/1.203, allocations: 406.4 kB / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003704/1.207, allocations: 2.668 MB / 1.447 GB, free: 8.262 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.207, allocations: 301.1 kB / 1.447 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02018/1.227, allocations: 20.11 MB / 1.467 GB, free: 3.844 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02101/1.248, allocations: 20.69 MB / 1.487 GB, free: 15.09 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02411/1.272, allocations: 23.57 MB / 1.51 GB, free: 7.391 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/1.272, allocations: 3.938 kB / 1.51 GB, free: 7.387 MB / 1.232 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04906/1.321, allocations: 44.23 MB / 1.553 GB, free: 11.02 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/1.322, allocations: 165.6 kB / 1.553 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.322, allocations: 7.938 kB / 1.553 GB, free: 10.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006829/1.323, allocations: 89.09 kB / 1.553 GB, free: 10.75 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/1.325, allocations: 419.4 kB / 1.554 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.327, allocations: 1.637 MB / 1.555 GB, free: 8.559 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.329, allocations: 241.6 kB / 1.556 GB, free: 8.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006053/1.33, allocations: 108 kB / 1.556 GB, free: 8.215 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.002736/1.333, allocations: 1.54 MB / 1.557 GB, free: 6.66 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/1.334, allocations: 221.1 kB / 1.557 GB, free: 6.441 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005823/1.339, allocations: 2.925 MB / 1.56 GB, free: 3.488 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-05/1.339, allocations: 16 kB / 1.56 GB, free: 3.473 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.34, allocations: 0 / 1.56 GB, free: 3.473 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.34, allocations: 7.969 kB / 1.56 GB, free: 3.465 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/1.343, allocations: 1.793 MB / 1.562 GB, free: 1.617 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.343, allocations: 0 / 1.562 GB, free: 1.617 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/1.344, allocations: 187.7 kB / 1.562 GB, free: 1.434 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/1.344, allocations: 76.78 kB / 1.562 GB, free: 1.355 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.344, allocations: 39.97 kB / 1.562 GB, free: 1.316 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6724/2.017, allocations: 1.655 MB / 1.564 GB, free: 350.5 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.017, allocations: 0 / 1.564 GB, free: 350.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008106/2.025, allocations: 2.77 MB / 1.567 GB, free: 350 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/2.026, allocations: 0.4896 MB / 1.567 GB, free: 349.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/2.026, allocations: 30.28 kB / 1.567 GB, free: 349.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/2.027, allocations: 76.31 kB / 1.567 GB, free: 349.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/2.028, allocations: 96.72 kB / 1.567 GB, free: 349.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/2.028, allocations: 59.22 kB / 1.567 GB, free: 349.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007488/2.035, allocations: 7.27 MB / 1.574 GB, free: 347.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.51e-07/2.035, allocations: 2.625 kB / 1.574 GB, free: 347.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004004/2.039, allocations: 1.381 MB / 1.576 GB, free: 347.7 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.002488/2.042, allocations: 0.9574 MB / 1.577 GB, free: 347.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01883/2.061, allocations: 26.78 MB / 1.603 GB, free: 324.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.061, allocations: 0 / 1.603 GB, free: 324.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/2.063, allocations: 1.908 MB / 1.605 GB, free: 322.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/2.065, allocations: 444.6 kB / 1.605 GB, free: 322.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/2.073, allocations: 6.719 MB / 1.612 GB, free: 316.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/2.074, allocations: 1.716 MB / 1.613 GB, free: 314.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/2.075, allocations: 209.4 kB / 1.614 GB, free: 314.7 MB / 1.279 GB Notification: Performance of SimCode: time 7.01e-07/2.075, allocations: 3.938 kB / 1.614 GB, free: 314.7 MB / 1.279 GB Notification: Performance of Templates: time 0.06956/2.145, allocations: 64.88 MB / 1.677 GB, free: 251.5 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)