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 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.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.001054/0.001055, allocations: 104.6 kB / 16.41 MB, free: 6.492 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.001063/0.001063, allocations: 189.5 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8738, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009196/0.883, allocations: 6.961 MB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.172/1.055, allocations: 155.4 MB / 1.367 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/1.056, allocations: 23.88 kB / 1.367 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004763/1.061, allocations: 1.801 MB / 1.369 GB, free: 8.992 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/1.064, allocations: 0.8932 MB / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/1.067, allocations: 0.9897 MB / 1.371 GB, free: 7.113 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003252/1.07, allocations: 2.574 MB / 1.373 GB, free: 4.531 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/1.072, allocations: 0.957 MB / 1.374 GB, free: 3.527 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/1.073, allocations: 0.9034 MB / 1.375 GB, free: 2.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.075, allocations: 0.9336 MB / 1.376 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004763/1.075, allocations: 188 kB / 1.376 GB, free: 1.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/1.079, allocations: 2.263 MB / 1.378 GB, free: 15.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.08, allocations: 1.154 MB / 1.379 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.082, allocations: 0.9405 MB / 1.38 GB, free: 13.13 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005518/1.087, allocations: 3.767 MB / 1.384 GB, free: 9.355 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.087, allocations: 0 / 1.384 GB, free: 9.355 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/1.087, allocations: 3.938 kB / 1.384 GB, free: 9.352 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.378e-05/1.087, allocations: 0 / 1.384 GB, free: 9.352 MB / 1.107 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.005404/1.093, allocations: 2.383 MB / 1.386 GB, free: 6.91 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.093, allocations: 12.03 kB / 1.386 GB, free: 6.898 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/1.094, allocations: 266.4 kB / 1.387 GB, free: 6.637 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/1.099, allocations: 2.932 MB / 1.389 GB, free: 3.648 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.099, allocations: 102.5 kB / 1.389 GB, free: 3.547 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/1.099, allocations: 132 kB / 1.39 GB, free: 3.418 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/1.102, allocations: 1.36 MB / 1.391 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/1.103, allocations: 0 / 1.391 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.103, allocations: 55.94 kB / 1.391 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.103, allocations: 36 kB / 1.391 GB, free: 1.906 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/1.105, allocations: 1.493 MB / 1.392 GB, free: 416 kB / 1.107 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.008182/1.113, allocations: 5.575 MB / 1.398 GB, free: 10.65 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/1.116, allocations: 1.125 MB / 1.399 GB, free: 9.523 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/1.116, allocations: 435.7 kB / 1.399 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/1.116, allocations: 41.09 kB / 1.399 GB, free: 9.051 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/1.117, allocations: 0.6528 MB / 1.4 GB, free: 8.383 MB / 1.123 GB Notification: Performance of pre-optimization done (n=100): time 3.096e-06/1.117, allocations: 4 kB / 1.4 GB, free: 8.379 MB / 1.123 GB Notification: Performance of matching and sorting (n=100): time 0.003907/1.121, allocations: 1.656 MB / 1.402 GB, free: 6.691 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.122, allocations: 196.9 kB / 1.402 GB, free: 6.457 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/1.126, allocations: 4.102 MB / 1.406 GB, free: 2.348 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.126, allocations: 53.7 kB / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/1.127, allocations: 0.6452 MB / 1.407 GB, free: 1.637 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.127, allocations: 331.3 kB / 1.407 GB, free: 1.309 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009128/1.128, allocations: 0.9547 MB / 1.408 GB, free: 352 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.128, allocations: 301.1 kB / 1.408 GB, free: 48 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005751/1.134, allocations: 6.339 MB / 1.414 GB, free: 9.703 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/1.14, allocations: 6.581 MB / 1.421 GB, free: 3.098 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007244/1.147, allocations: 7.462 MB / 1.428 GB, free: 11.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.147, allocations: 0 / 1.428 GB, free: 11.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.0143/1.162, allocations: 14.16 MB / 1.442 GB, free: 13.37 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.162, allocations: 6.188 kB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.162, allocations: 3.938 kB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.162, allocations: 88.83 kB / 1.442 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.163, allocations: 251.6 kB / 1.442 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.166, allocations: 1.63 MB / 1.444 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.167, allocations: 146.8 kB / 1.444 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.167, allocations: 59.95 kB / 1.444 GB, free: 11.04 MB / 1.17 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.0009769/1.168, allocations: 0.613 MB / 1.445 GB, free: 10.42 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/1.169, allocations: 134.4 kB / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/1.172, allocations: 1.486 MB / 1.446 GB, free: 8.789 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.172, allocations: 12 kB / 1.446 GB, free: 8.777 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.172, allocations: 0 / 1.446 GB, free: 8.777 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.172, allocations: 7.969 kB / 1.446 GB, free: 8.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.174, allocations: 1.307 MB / 1.447 GB, free: 7.406 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.174, allocations: 0 / 1.447 GB, free: 7.406 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/1.174, allocations: 179.7 kB / 1.448 GB, free: 7.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/1.175, allocations: 76.78 kB / 1.448 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/1.175, allocations: 31.97 kB / 1.448 GB, free: 7.121 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/1.177, allocations: 1.654 MB / 1.449 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.177, allocations: 12.03 kB / 1.449 GB, free: 5.309 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/1.179, allocations: 1.27 MB / 1.451 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/1.18, allocations: 362.9 kB / 1.451 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/1.18, allocations: 24 kB / 1.451 GB, free: 3.613 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/1.181, allocations: 71.92 kB / 1.451 GB, free: 3.543 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.181, allocations: 84.88 kB / 1.451 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/1.181, allocations: 47.97 kB / 1.451 GB, free: 3.414 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002492/1.184, allocations: 2.634 MB / 1.454 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.51e-07/1.184, allocations: 0 / 1.454 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00227/1.186, allocations: 1.018 MB / 1.455 GB, free: 15.75 MB / 1.186 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.002616/1.189, allocations: 0.947 MB / 1.456 GB, free: 14.99 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007885/1.197, allocations: 8.392 MB / 1.464 GB, free: 6.582 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.197, allocations: 0 / 1.464 GB, free: 6.582 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.198, allocations: 0.6681 MB / 1.465 GB, free: 5.898 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.2, allocations: 355.7 kB / 1.465 GB, free: 5.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/1.205, allocations: 3.417 MB / 1.468 GB, free: 2.121 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009529/1.206, allocations: 1.309 MB / 1.469 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.206, allocations: 167.4 kB / 1.47 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of SimCode: time 2.3e-07/1.206, allocations: 0 / 1.47 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of Templates: time 0.05421/1.261, allocations: 38.98 MB / 1.508 GB, free: 10.12 MB / 1.232 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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)