Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00147/0.00147, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001417/0.001417, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 70.36 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7695, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00914/0.7787, allocations: 6.966 MB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.9754, allocations: 155.4 MB / 1.241 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.9774, allocations: 27.88 kB / 1.241 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005921/0.9834, allocations: 1.797 MB / 1.243 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.9872, allocations: 0.8916 MB / 1.244 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.9903, allocations: 0.9914 MB / 1.245 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003728/0.994, allocations: 2.567 MB / 1.248 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.9956, allocations: 0.9415 MB / 1.248 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.9969, allocations: 0.8994 MB / 1.249 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.9982, allocations: 0.9259 MB / 1.25 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.9985, allocations: 191.9 kB / 1.25 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/1.002, allocations: 2.228 MB / 1.253 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/1.003, allocations: 1.158 MB / 1.254 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/1.005, allocations: 0.9405 MB / 1.255 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/1.011, allocations: 3.716 MB / 1.258 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.011, allocations: 4 kB / 1.258 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/1.011, allocations: 4 kB / 1.258 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.315e-05/1.011, allocations: 0 / 1.258 GB, free: 10.73 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004542/1.015, allocations: 2.375 MB / 1.261 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.016, allocations: 8.031 kB / 1.261 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.017, allocations: 270.4 kB / 1.261 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/1.021, allocations: 2.908 MB / 1.264 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/1.021, allocations: 106.5 kB / 1.264 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.021, allocations: 135.9 kB / 1.264 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.023, allocations: 1.357 MB / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.023, allocations: 0 / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.024, allocations: 52 kB / 1.265 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/1.024, allocations: 32 kB / 1.265 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/1.026, allocations: 1.496 MB / 1.267 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/1.035, allocations: 5.711 MB / 1.272 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/1.037, allocations: 1.115 MB / 1.274 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/1.038, allocations: 447.6 kB / 1.274 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/1.038, allocations: 37.09 kB / 1.274 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.04, allocations: 0.649 MB / 1.275 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.805e-06/1.04, allocations: 0 / 1.275 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004305/1.044, allocations: 1.66 MB / 1.276 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/1.044, allocations: 192.9 kB / 1.276 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/1.05, allocations: 4.106 MB / 1.28 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/1.05, allocations: 45.7 kB / 1.28 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007941/1.051, allocations: 0.6608 MB / 1.281 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/1.052, allocations: 331.3 kB / 1.281 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/1.053, allocations: 0.9469 MB / 1.282 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.053, allocations: 305.1 kB / 1.283 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006582/1.059, allocations: 6.331 MB / 1.289 GB, free: 10.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007174/1.067, allocations: 6.581 MB / 1.295 GB, free: 4.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008385/1.075, allocations: 7.474 MB / 1.303 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.075, allocations: 0 / 1.303 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01646/1.092, allocations: 14.16 MB / 1.316 GB, free: 14.61 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.092, allocations: 10.19 kB / 1.316 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.092, allocations: 0 / 1.316 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/1.092, allocations: 84.91 kB / 1.316 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.093, allocations: 247.7 kB / 1.317 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/1.096, allocations: 1.638 MB / 1.318 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.097, allocations: 138.7 kB / 1.318 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.097, allocations: 63.95 kB / 1.319 GB, free: 12.29 MB / 1.045 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.00101/1.098, allocations: 0.6129 MB / 1.319 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/1.099, allocations: 138.2 kB / 1.319 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/1.102, allocations: 1.486 MB / 1.321 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.102, allocations: 12 kB / 1.321 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.102, allocations: 0 / 1.321 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.102, allocations: 3.984 kB / 1.321 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/1.104, allocations: 1.31 MB / 1.322 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.104, allocations: 4 kB / 1.322 GB, free: 8.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/1.105, allocations: 183.7 kB / 1.322 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/1.105, allocations: 72.78 kB / 1.322 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/1.105, allocations: 31.97 kB / 1.322 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/1.108, allocations: 1.658 MB / 1.324 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.108, allocations: 3.938 kB / 1.324 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/1.11, allocations: 1.274 MB / 1.325 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/1.111, allocations: 366.9 kB / 1.325 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.111, allocations: 20 kB / 1.325 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/1.112, allocations: 71.92 kB / 1.326 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.112, allocations: 84.88 kB / 1.326 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-05/1.112, allocations: 47.97 kB / 1.326 GB, free: 4.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002828/1.115, allocations: 2.638 MB / 1.328 GB, free: 2.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.2e-07/1.115, allocations: 0 / 1.328 GB, free: 2.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002405/1.117, allocations: 1.01 MB / 1.329 GB, free: 1.008 MB / 1.045 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.0029/1.12, allocations: 0.9575 MB / 1.33 GB, free: 232 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.131, allocations: 8.677 MB / 1.339 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.131, allocations: 0 / 1.339 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/1.132, allocations: 0.676 MB / 1.339 GB, free: 6.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.134, allocations: 370.9 kB / 1.34 GB, free: 6.504 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/1.139, allocations: 3.448 MB / 1.343 GB, free: 3.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.14, allocations: 1.305 MB / 1.344 GB, free: 1.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/1.141, allocations: 171.3 kB / 1.344 GB, free: 1.516 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.141, allocations: 0 / 1.344 GB, free: 1.516 MB / 1.061 GB Notification: Performance of Templates: time 0.05663/1.197, allocations: 38.44 MB / 1.382 GB, free: 11.57 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)