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.001346/0.001351, allocations: 107 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.001375/0.001375, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.12 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8874, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009466/0.8969, allocations: 6.965 MB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.091, allocations: 155.4 MB / 1.367 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/1.093, allocations: 27.88 kB / 1.367 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00568/1.099, allocations: 1.803 MB / 1.369 GB, free: 8.848 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003496/1.102, allocations: 0.897 MB / 1.37 GB, free: 7.949 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/1.105, allocations: 0.9819 MB / 1.371 GB, free: 6.973 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004386/1.11, allocations: 2.589 MB / 1.373 GB, free: 4.379 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.112, allocations: 0.9414 MB / 1.374 GB, free: 3.391 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/1.114, allocations: 0.9111 MB / 1.375 GB, free: 2.477 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/1.116, allocations: 0.9298 MB / 1.376 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006405/1.116, allocations: 184 kB / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/1.121, allocations: 2.266 MB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001645/1.123, allocations: 1.154 MB / 1.379 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/1.125, allocations: 0.9405 MB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008643/1.134, allocations: 3.775 MB / 1.384 GB, free: 9.207 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.134, allocations: 3.938 kB / 1.384 GB, free: 9.203 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/1.134, allocations: 0 / 1.384 GB, free: 9.203 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000105/1.134, allocations: 0 / 1.384 GB, free: 9.203 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.005845/1.14, allocations: 2.375 MB / 1.386 GB, free: 6.77 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.14, allocations: 8.031 kB / 1.386 GB, free: 6.762 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.141, allocations: 270.4 kB / 1.387 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/1.145, allocations: 2.928 MB / 1.389 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/1.145, allocations: 102.5 kB / 1.389 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.145, allocations: 136 kB / 1.39 GB, free: 3.277 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.148, allocations: 1.36 MB / 1.391 GB, free: 1.855 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.148, allocations: 3.938 kB / 1.391 GB, free: 1.852 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.148, allocations: 55.94 kB / 1.391 GB, free: 1.797 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/1.148, allocations: 28 kB / 1.391 GB, free: 1.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/1.15, allocations: 1.5 MB / 1.392 GB, free: 268 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.008167/1.159, allocations: 5.576 MB / 1.398 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.161, allocations: 1.112 MB / 1.399 GB, free: 9.387 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/1.161, allocations: 435.7 kB / 1.399 GB, free: 8.957 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.445e-05/1.162, allocations: 37.09 kB / 1.399 GB, free: 8.918 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/1.163, allocations: 0.6645 MB / 1.4 GB, free: 8.238 MB / 1.123 GB Notification: Performance of pre-optimization done (n=100): time 5.25e-06/1.163, allocations: 3.984 kB / 1.4 GB, free: 8.234 MB / 1.123 GB Notification: Performance of matching and sorting (n=100): time 0.004181/1.167, allocations: 1.652 MB / 1.402 GB, free: 6.551 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.167, allocations: 200.9 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/1.172, allocations: 4.098 MB / 1.406 GB, free: 2.207 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/1.172, allocations: 45.7 kB / 1.406 GB, free: 2.156 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/1.173, allocations: 0.6608 MB / 1.407 GB, free: 1.488 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.173, allocations: 327.3 kB / 1.407 GB, free: 1.164 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008391/1.174, allocations: 0.9586 MB / 1.408 GB, free: 200 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.174, allocations: 301.1 kB / 1.408 GB, free: 15.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005749/1.18, allocations: 6.331 MB / 1.414 GB, free: 9.562 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006223/1.186, allocations: 6.585 MB / 1.421 GB, free: 2.953 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/1.194, allocations: 7.462 MB / 1.428 GB, free: 11.45 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.194, allocations: 0 / 1.428 GB, free: 11.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01579/1.21, allocations: 14.16 MB / 1.442 GB, free: 13.22 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.21, allocations: 4 kB / 1.442 GB, free: 13.22 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.21, allocations: 3.938 kB / 1.442 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/1.21, allocations: 88.77 kB / 1.442 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.212, allocations: 251.7 kB / 1.442 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.214, allocations: 1.63 MB / 1.444 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.215, allocations: 136.9 kB / 1.444 GB, free: 10.97 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.216, allocations: 63.95 kB / 1.444 GB, free: 10.91 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.001273/1.217, allocations: 0.6302 MB / 1.445 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/1.217, allocations: 138.2 kB / 1.445 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/1.221, allocations: 1.47 MB / 1.446 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.221, allocations: 12 kB / 1.446 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.221, allocations: 0 / 1.446 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.221, allocations: 11.97 kB / 1.446 GB, free: 8.625 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.223, allocations: 1.304 MB / 1.447 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.223, allocations: 0 / 1.447 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.224, allocations: 179.8 kB / 1.448 GB, free: 7.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/1.225, allocations: 76.78 kB / 1.448 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/1.225, allocations: 27.98 kB / 1.448 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/1.227, allocations: 1.654 MB / 1.449 GB, free: 5.184 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.227, allocations: 8.062 kB / 1.449 GB, free: 5.176 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/1.229, allocations: 1.282 MB / 1.451 GB, free: 3.867 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/1.23, allocations: 362.9 kB / 1.451 GB, free: 3.492 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/1.23, allocations: 24 kB / 1.451 GB, free: 3.469 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/1.231, allocations: 67.92 kB / 1.451 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.231, allocations: 84.88 kB / 1.451 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.866e-05/1.232, allocations: 51.97 kB / 1.451 GB, free: 3.27 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002672/1.234, allocations: 2.63 MB / 1.454 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.71e-07/1.234, allocations: 0 / 1.454 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002622/1.237, allocations: 1.018 MB / 1.455 GB, free: 15.61 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.003092/1.24, allocations: 0.9516 MB / 1.456 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008634/1.249, allocations: 8.38 MB / 1.464 GB, free: 6.449 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.249, allocations: 4.062 kB / 1.464 GB, free: 6.445 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/1.25, allocations: 0.6718 MB / 1.465 GB, free: 5.758 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/1.252, allocations: 365.2 kB / 1.465 GB, free: 5.422 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/1.259, allocations: 3.409 MB / 1.468 GB, free: 1.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.26, allocations: 1.321 MB / 1.469 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/1.261, allocations: 167.3 kB / 1.47 GB, free: 476 kB / 1.186 GB Notification: Performance of SimCode: time 1.202e-06/1.261, allocations: 0 / 1.47 GB, free: 476 kB / 1.186 GB Notification: Performance of Templates: time 0.05853/1.319, allocations: 38.61 MB / 1.507 GB, free: 10.34 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)