Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 193 kB / 16.13 MB, free: 6.656 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.98 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3506, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01041/0.3611, allocations: 8.14 MB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1918/0.5529, allocations: 157.5 MB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.5557, allocations: 35.81 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006708/0.5625, allocations: 1.814 MB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.5679, allocations: 1.167 MB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.5723, allocations: 1.251 MB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007008/0.5793, allocations: 5.414 MB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.5816, allocations: 1.075 MB / 1.24 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.5849, allocations: 1.448 MB / 1.241 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.5879, allocations: 1.436 MB / 1.243 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.5891, allocations: 132 kB / 1.243 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.5943, allocations: 2.083 MB / 1.245 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003152/0.5975, allocations: 2.691 MB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003162/0.6007, allocations: 1.251 MB / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8158/1.417, allocations: 4.982 MB / 1.253 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.417, allocations: 1.938 kB / 1.254 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.474e-06/1.417, allocations: 0 / 1.254 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.263e-05/1.417, allocations: 4.938 kB / 1.254 GB, free: 15.63 MB / 0.9981 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.008026/1.425, allocations: 3.388 MB / 1.257 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.425, allocations: 10.97 kB / 1.257 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.426, allocations: 356.6 kB / 1.257 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00822/1.434, allocations: 7.406 MB / 1.264 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/1.435, allocations: 144 kB / 1.265 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/1.435, allocations: 184.8 kB / 1.265 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/1.438, allocations: 1.967 MB / 1.267 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/1.438, allocations: 3.469 kB / 1.267 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.439, allocations: 64.03 kB / 1.267 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/1.439, allocations: 35.56 kB / 1.267 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/1.442, allocations: 1.984 MB / 1.269 GB, free: 13.08 MB / 0.9981 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.01548/1.458, allocations: 10.63 MB / 1.279 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/1.461, allocations: 1.794 MB / 1.281 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/1.462, allocations: 1.082 MB / 1.282 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.883e-05/1.462, allocations: 42.7 kB / 1.282 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/1.464, allocations: 1.191 MB / 1.283 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.875e-06/1.464, allocations: 0 / 1.283 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007238/1.471, allocations: 3.456 MB / 1.286 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.471, allocations: 343.4 kB / 1.287 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01381/1.485, allocations: 11.59 MB / 1.298 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007276/1.486, allocations: 64.42 kB / 1.298 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/1.487, allocations: 0.968 MB / 1.299 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/1.487, allocations: 402.8 kB / 1.299 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/1.489, allocations: 2.671 MB / 1.302 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/1.489, allocations: 304.5 kB / 1.302 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/1.504, allocations: 20.1 MB / 1.322 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.043/1.547, allocations: 23.17 MB / 1.345 GB, free: 13.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02522/1.573, allocations: 23.57 MB / 1.368 GB, free: 5.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/1.573, allocations: 0 / 1.368 GB, free: 5.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04728/1.62, allocations: 44.23 MB / 1.411 GB, free: 9.305 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003404/1.62, allocations: 167.2 kB / 1.411 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/1.62, allocations: 4 kB / 1.411 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/1.621, allocations: 93.69 kB / 1.411 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.624, allocations: 411.7 kB / 1.411 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/1.626, allocations: 1.542 MB / 1.413 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.63, allocations: 241.7 kB / 1.413 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.63, allocations: 116.8 kB / 1.413 GB, free: 6.664 MB / 1.076 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.003542/1.634, allocations: 1.548 MB / 1.415 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/1.635, allocations: 209.3 kB / 1.415 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/1.641, allocations: 2.944 MB / 1.418 GB, free: 1.973 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.641, allocations: 8 kB / 1.418 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.641, allocations: 8 kB / 1.418 GB, free: 1.957 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.641, allocations: 7.125 kB / 1.418 GB, free: 1.953 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/1.646, allocations: 1.787 MB / 1.42 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.646, allocations: 0 / 1.42 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/1.647, allocations: 186.4 kB / 1.42 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/1.647, allocations: 84.77 kB / 1.42 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.647, allocations: 41.55 kB / 1.42 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.649, allocations: 1.552 MB / 1.421 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.649, allocations: 0 / 1.421 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/1.654, allocations: 2.776 MB / 1.424 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.655, allocations: 490.1 kB / 1.425 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/1.656, allocations: 35.84 kB / 1.425 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.657, allocations: 85.02 kB / 1.425 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/1.657, allocations: 93.52 kB / 1.425 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.657, allocations: 63.91 kB / 1.425 GB, free: 10.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007339/1.664, allocations: 7.265 MB / 1.432 GB, free: 3.312 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.664, allocations: 0 / 1.432 GB, free: 3.312 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005195/1.67, allocations: 1.39 MB / 1.433 GB, free: 1.934 MB / 1.092 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.002752/1.672, allocations: 0.952 MB / 1.434 GB, free: 1.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02609/1.699, allocations: 26.76 MB / 1.46 GB, free: 6.52 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.699, allocations: 0 / 1.46 GB, free: 6.52 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/1.702, allocations: 1.902 MB / 1.462 GB, free: 4.609 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.705, allocations: 411.6 kB / 1.463 GB, free: 4.211 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.724, allocations: 12.51 MB / 1.475 GB, free: 7.684 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/1.728, allocations: 3.015 MB / 1.478 GB, free: 4.641 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0021/1.73, allocations: 0.5111 MB / 1.478 GB, free: 4.125 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/1.731, allocations: 199.4 kB / 1.479 GB, free: 3.934 MB / 1.139 GB Notification: Performance of SimCode: time 1.453e-06/1.731, allocations: 0 / 1.479 GB, free: 3.934 MB / 1.139 GB Notification: Performance of Templates: time 0.1065/1.837, allocations: 46.45 MB / 1.524 GB, free: 5.871 MB / 1.186 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)