Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 197 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.55 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3389, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008611/0.3476, allocations: 6.988 MB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.5286, allocations: 155.6 MB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.5303, allocations: 23.88 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004987/0.5354, allocations: 1.821 MB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.5388, allocations: 0.866 MB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.5419, allocations: 1.038 MB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005784/0.5477, allocations: 3.649 MB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.5497, allocations: 0.9173 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.5524, allocations: 1.177 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.5547, allocations: 1.073 MB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007115/0.5554, allocations: 200 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.5602, allocations: 2.212 MB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.5615, allocations: 1.361 MB / 1.241 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.5627, allocations: 1.03 MB / 1.242 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.5692, allocations: 3.95 MB / 1.246 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5692, allocations: 4 kB / 1.246 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5692, allocations: 0 / 1.246 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.5693, allocations: 0 / 1.246 GB, free: 3.828 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004723/0.574, allocations: 2.605 MB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5741, allocations: 8.031 kB / 1.248 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.575, allocations: 262.2 kB / 1.249 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6516/1.227, allocations: 2.988 MB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.227, allocations: 112 kB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/1.227, allocations: 153.5 kB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.23, allocations: 1.538 MB / 1.253 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.23, allocations: 1.344 kB / 1.253 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.23, allocations: 56.55 kB / 1.253 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/1.23, allocations: 29.89 kB / 1.253 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/1.233, allocations: 1.617 MB / 1.255 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007491/1.241, allocations: 5.769 MB / 1.261 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/1.243, allocations: 1.433 MB / 1.262 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/1.244, allocations: 0.8913 MB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/1.244, allocations: 37.61 kB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/1.245, allocations: 0.9604 MB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/1.245, allocations: 0 / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004869/1.25, allocations: 2.671 MB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/1.251, allocations: 328.7 kB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/1.257, allocations: 4.38 MB / 1.271 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/1.257, allocations: 56.14 kB / 1.271 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/1.257, allocations: 0.6973 MB / 1.272 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/1.258, allocations: 344.8 kB / 1.272 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.259, allocations: 1.075 MB / 1.273 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/1.259, allocations: 313.8 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006619/1.265, allocations: 7.038 MB / 1.28 GB, free: 174 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/1.272, allocations: 7.31 MB / 1.287 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/1.28, allocations: 8.992 MB / 1.296 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.28, allocations: 0 / 1.296 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01283/1.293, allocations: 15.87 MB / 1.312 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.293, allocations: 151.3 kB / 1.312 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.293, allocations: 0 / 1.312 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.293, allocations: 12.06 kB / 1.312 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.294, allocations: 319.8 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.294, allocations: 8 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.296, allocations: 195.5 kB / 1.312 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.296, allocations: 79.48 kB / 1.312 GB, free: 148.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009895/1.297, allocations: 0.8473 MB / 1.313 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/1.297, allocations: 153.6 kB / 1.313 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/1.3, allocations: 2.371 MB / 1.316 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.3, allocations: 12 kB / 1.316 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.3, allocations: 0 / 1.316 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.3, allocations: 11.92 kB / 1.316 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/1.302, allocations: 1.354 MB / 1.317 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.302, allocations: 3.938 kB / 1.317 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.302, allocations: 163.8 kB / 1.317 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.302, allocations: 7.375 kB / 1.317 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/1.302, allocations: 31.97 kB / 1.317 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.302, allocations: 4 kB / 1.317 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.302, allocations: 0 / 1.317 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/1.305, allocations: 2.248 MB / 1.319 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/1.305, allocations: 402.7 kB / 1.32 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.306, allocations: 31.98 kB / 1.32 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/1.306, allocations: 71.92 kB / 1.32 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.306, allocations: 80.89 kB / 1.32 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/1.307, allocations: 59.19 kB / 1.32 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001839/1.308, allocations: 2.799 MB / 1.323 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.308, allocations: 0 / 1.323 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001933/1.31, allocations: 1.073 MB / 1.324 GB, free: 136.8 MB / 0.9981 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/1.312, allocations: 0.9551 MB / 1.325 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008291/1.321, allocations: 11.14 MB / 1.336 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.321, allocations: 3.938 kB / 1.336 GB, free: 125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/1.322, allocations: 1.524 MB / 1.337 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.324, allocations: 372.5 kB / 1.338 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/1.33, allocations: 5.657 MB / 1.343 GB, free: 117.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009655/1.331, allocations: 1.777 MB / 1.345 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009859/1.332, allocations: 388.4 kB / 1.345 GB, free: 115.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/1.332, allocations: 143.4 kB / 1.345 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/1.332, allocations: 0 / 1.345 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04654/1.378, allocations: 32.44 MB / 1.377 GB, free: 82.92 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)