Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001122/0.001122, allocations: 108 kB / 16.41 MB, free: 6.461 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.001167/0.001167, allocations: 187 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8765, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009626/0.8862, allocations: 6.995 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1731/1.059, allocations: 155.4 MB / 1.326 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/1.061, allocations: 23.88 kB / 1.326 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005111/1.066, allocations: 1.811 MB / 1.328 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/1.069, allocations: 0.8982 MB / 1.329 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/1.072, allocations: 0.9977 MB / 1.33 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003777/1.076, allocations: 2.574 MB / 1.332 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.078, allocations: 0.9492 MB / 1.333 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.08, allocations: 0.9034 MB / 1.334 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/1.081, allocations: 0.9336 MB / 1.335 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000587/1.082, allocations: 184 kB / 1.335 GB, free: 7.523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/1.086, allocations: 2.27 MB / 1.337 GB, free: 5.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001338/1.088, allocations: 1.154 MB / 1.338 GB, free: 4.094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/1.089, allocations: 0.9405 MB / 1.339 GB, free: 3.148 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/1.097, allocations: 3.767 MB / 1.343 GB, free: 15.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.097, allocations: 4 kB / 1.343 GB, free: 15.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.604e-06/1.097, allocations: 0 / 1.343 GB, free: 15.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001007/1.097, allocations: 0 / 1.343 GB, free: 15.37 MB / 1.076 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.005904/1.103, allocations: 2.379 MB / 1.345 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.103, allocations: 12.92 kB / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/1.104, allocations: 270.4 kB / 1.345 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/1.109, allocations: 2.932 MB / 1.348 GB, free: 9.664 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/1.109, allocations: 98.55 kB / 1.348 GB, free: 9.566 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/1.109, allocations: 132 kB / 1.349 GB, free: 9.438 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/1.112, allocations: 1.364 MB / 1.35 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.112, allocations: 0 / 1.35 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/1.112, allocations: 52 kB / 1.35 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/1.112, allocations: 32 kB / 1.35 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/1.115, allocations: 1.5 MB / 1.351 GB, free: 6.422 MB / 1.076 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.008942/1.124, allocations: 5.565 MB / 1.357 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/1.126, allocations: 1.129 MB / 1.358 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/1.127, allocations: 435.7 kB / 1.358 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.127, allocations: 41.09 kB / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.128, allocations: 0.6567 MB / 1.359 GB, free: 14.4 MB / 1.092 GB Notification: Performance of pre-optimization done (n=100): time 4.087e-06/1.128, allocations: 0 / 1.359 GB, free: 14.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=100): time 0.004224/1.133, allocations: 1.66 MB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.133, allocations: 192.9 kB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005109/1.138, allocations: 4.102 MB / 1.365 GB, free: 8.367 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/1.138, allocations: 53.7 kB / 1.365 GB, free: 8.309 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/1.139, allocations: 0.6491 MB / 1.366 GB, free: 7.652 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/1.139, allocations: 331.3 kB / 1.366 GB, free: 7.324 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.14, allocations: 0.9548 MB / 1.367 GB, free: 6.359 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/1.14, allocations: 301.1 kB / 1.367 GB, free: 6.062 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00577/1.146, allocations: 6.339 MB / 1.373 GB, free: 15.71 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006168/1.152, allocations: 6.573 MB / 1.38 GB, free: 9.117 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008088/1.16, allocations: 7.466 MB / 1.387 GB, free: 1.609 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.16, allocations: 0 / 1.387 GB, free: 1.609 MB / 1.107 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01557/1.176, allocations: 14.17 MB / 1.401 GB, free: 3.379 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.176, allocations: 4 kB / 1.401 GB, free: 3.375 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.176, allocations: 4 kB / 1.401 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/1.177, allocations: 84.83 kB / 1.401 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.178, allocations: 251.6 kB / 1.401 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/1.18, allocations: 1.634 MB / 1.403 GB, free: 1.262 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.182, allocations: 142.7 kB / 1.403 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/1.182, allocations: 59.95 kB / 1.403 GB, free: 1.062 MB / 1.123 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.001111/1.183, allocations: 0.6246 MB / 1.404 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/1.184, allocations: 134.2 kB / 1.404 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.187, allocations: 1.47 MB / 1.405 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.187, allocations: 15.98 kB / 1.405 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.187, allocations: 0 / 1.405 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.187, allocations: 7.969 kB / 1.405 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/1.189, allocations: 1.315 MB / 1.406 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.189, allocations: 8 kB / 1.406 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/1.19, allocations: 179.7 kB / 1.407 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/1.191, allocations: 68.78 kB / 1.407 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/1.191, allocations: 35.97 kB / 1.407 GB, free: 13.13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/1.193, allocations: 1.659 MB / 1.408 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.193, allocations: 3.938 kB / 1.408 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.196, allocations: 1.27 MB / 1.41 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/1.196, allocations: 362.9 kB / 1.41 GB, free: 9.648 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/1.197, allocations: 32 kB / 1.41 GB, free: 9.617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/1.198, allocations: 67.92 kB / 1.41 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.198, allocations: 84.88 kB / 1.41 GB, free: 9.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/1.198, allocations: 47.97 kB / 1.41 GB, free: 9.422 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002872/1.201, allocations: 2.642 MB / 1.413 GB, free: 6.777 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.1e-07/1.201, allocations: 0 / 1.413 GB, free: 6.777 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002709/1.204, allocations: 1.01 MB / 1.414 GB, free: 5.766 MB / 1.139 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.002853/1.206, allocations: 0.9555 MB / 1.415 GB, free: 4.977 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008842/1.215, allocations: 8.388 MB / 1.423 GB, free: 12.58 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.215, allocations: 4 kB / 1.423 GB, free: 12.57 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.217, allocations: 0.6682 MB / 1.423 GB, free: 11.89 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.219, allocations: 363.5 kB / 1.424 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/1.225, allocations: 3.408 MB / 1.427 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.226, allocations: 1.313 MB / 1.428 GB, free: 6.77 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/1.227, allocations: 167.3 kB / 1.429 GB, free: 6.605 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.227, allocations: 0 / 1.429 GB, free: 6.605 MB / 1.154 GB Notification: Performance of Templates: time 0.05802/1.285, allocations: 38.62 MB / 1.466 GB, free: 428 kB / 1.186 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)