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.0008472/0.0008473, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005113/0.005113, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 9.156 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.37, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008943/0.379, allocations: 7.665 MB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.5687, allocations: 152.1 MB / 1.23 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.5709, allocations: 31.75 kB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.5763, allocations: 1.81 MB / 1.232 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.5802, allocations: 1.158 MB / 1.233 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.5837, allocations: 1.249 MB / 1.234 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.59, allocations: 5.402 MB / 1.24 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.5919, allocations: 1.071 MB / 1.241 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.5949, allocations: 1.292 MB / 1.242 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.5968, allocations: 1.258 MB / 1.243 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.597, allocations: 72 kB / 1.243 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.6013, allocations: 2.032 MB / 1.245 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002454/0.6038, allocations: 2.59 MB / 1.248 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.6054, allocations: 1.159 MB / 1.249 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.74/1.345, allocations: 4.862 MB / 1.254 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.345, allocations: 1.281 kB / 1.254 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.697e-06/1.345, allocations: 0 / 1.254 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001638/1.346, allocations: 0 / 1.254 GB, free: 16.24 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.006664/1.352, allocations: 2.843 MB / 1.256 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.352, allocations: 9.906 kB / 1.256 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.354, allocations: 370.4 kB / 1.257 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/1.364, allocations: 7.4 MB / 1.264 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.365, allocations: 147.6 kB / 1.264 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/1.365, allocations: 187.4 kB / 1.264 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/1.368, allocations: 1.961 MB / 1.266 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/1.369, allocations: 1.062 kB / 1.266 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.369, allocations: 66.58 kB / 1.266 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/1.369, allocations: 35.62 kB / 1.266 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/1.372, allocations: 1.992 MB / 1.268 GB, free: 13.87 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.01589/1.388, allocations: 10.72 MB / 1.279 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/1.391, allocations: 1.8 MB / 1.28 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/1.393, allocations: 1.087 MB / 1.281 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/1.393, allocations: 37.36 kB / 1.282 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/1.395, allocations: 1.196 MB / 1.283 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.647e-06/1.395, allocations: 0 / 1.283 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007562/1.402, allocations: 3.473 MB / 1.286 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/1.402, allocations: 347.3 kB / 1.286 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.416, allocations: 11.59 MB / 1.298 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007012/1.417, allocations: 67.42 kB / 1.298 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.418, allocations: 0.969 MB / 1.299 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00048/1.419, allocations: 397.4 kB / 1.299 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.42, allocations: 2.359 MB / 1.301 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/1.42, allocations: 304.2 kB / 1.302 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01569/1.436, allocations: 20.11 MB / 1.321 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0348/1.471, allocations: 22.16 MB / 1.343 GB, free: 15.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02566/1.497, allocations: 23.7 MB / 1.366 GB, free: 9.266 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/1.497, allocations: 0 / 1.366 GB, free: 9.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05033/1.547, allocations: 44.52 MB / 1.41 GB, free: 14.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/1.547, allocations: 165.6 kB / 1.41 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.547, allocations: 4 kB / 1.41 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/1.548, allocations: 93.02 kB / 1.41 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.55, allocations: 407.1 kB / 1.41 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/1.552, allocations: 1.55 MB / 1.412 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/1.555, allocations: 260.1 kB / 1.412 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/1.555, allocations: 112.3 kB / 1.412 GB, free: 11.62 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.002102/1.557, allocations: 1.543 MB / 1.414 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/1.557, allocations: 213.3 kB / 1.414 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/1.563, allocations: 2.943 MB / 1.417 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.563, allocations: 12 kB / 1.417 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.563, allocations: 0 / 1.417 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.563, allocations: 3.984 kB / 1.417 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/1.565, allocations: 1.801 MB / 1.418 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.565, allocations: 3.188 kB / 1.418 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/1.566, allocations: 185.8 kB / 1.419 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/1.567, allocations: 84.77 kB / 1.419 GB, free: 4.832 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.567, allocations: 46.09 kB / 1.419 GB, free: 4.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.569, allocations: 1.556 MB / 1.42 GB, free: 3.105 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.569, allocations: 3.984 kB / 1.42 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/1.574, allocations: 2.782 MB / 1.423 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.575, allocations: 0.5534 MB / 1.424 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/1.575, allocations: 31.84 kB / 1.424 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.576, allocations: 103.8 kB / 1.424 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/1.576, allocations: 96.86 kB / 1.424 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.576, allocations: 67.91 kB / 1.424 GB, free: 15.43 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007219/1.583, allocations: 7.261 MB / 1.431 GB, free: 8.148 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.01e-07/1.583, allocations: 0 / 1.431 GB, free: 8.148 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004706/1.588, allocations: 1.388 MB / 1.432 GB, free: 6.77 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.002776/1.591, allocations: 0.9468 MB / 1.433 GB, free: 6.07 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02696/1.618, allocations: 26.77 MB / 1.459 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.618, allocations: 0 / 1.459 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/1.621, allocations: 1.917 MB / 1.461 GB, free: 9.391 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.624, allocations: 407 kB / 1.462 GB, free: 8.996 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.642, allocations: 12.55 MB / 1.474 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.645, allocations: 3.014 MB / 1.477 GB, free: 9.367 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002174/1.648, allocations: 0.5185 MB / 1.477 GB, free: 8.844 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/1.648, allocations: 198.1 kB / 1.478 GB, free: 8.656 MB / 1.139 GB Notification: Performance of SimCode: time 1.002e-06/1.648, allocations: 0 / 1.478 GB, free: 8.656 MB / 1.139 GB Notification: Performance of Templates: time 0.0796/1.728, allocations: 42.51 MB / 1.519 GB, free: 14.54 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)