Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00484/0.00484, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003901, allocations: 11.39 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3992, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00633/0.4056, allocations: 4.947 MB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.6, allocations: 146.9 MB / 1.222 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6011, allocations: 15.88 kB / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000591/0.6017, allocations: 162.7 kB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6034, allocations: 0.4889 MB / 1.223 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.6055, allocations: 0.8273 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6071, allocations: 1.507 MB / 1.225 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.6082, allocations: 0.7065 MB / 1.226 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.6089, allocations: 434.1 kB / 1.226 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.6096, allocations: 0.4896 MB / 1.227 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.6097, allocations: 32 kB / 1.227 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.6107, allocations: 395.7 kB / 1.227 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.6109, allocations: 234.9 kB / 1.228 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.6115, allocations: 0.5491 MB / 1.228 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.6133, allocations: 1.748 MB / 1.23 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6133, allocations: 0 / 1.23 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6133, allocations: 0 / 1.23 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.6134, allocations: 0 / 1.23 GB, free: 7.48 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002912/0.6163, allocations: 1.408 MB / 1.231 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6163, allocations: 12.03 kB / 1.231 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/0.6217, allocations: 0.8225 MB / 1.232 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6231, allocations: 0.8123 MB / 1.233 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.6232, allocations: 82.2 kB / 1.233 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.6234, allocations: 111.9 kB / 1.233 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.6268, allocations: 1.455 MB / 1.234 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6269, allocations: 4 kB / 1.234 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.627, allocations: 47.98 kB / 1.234 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.627, allocations: 31.94 kB / 1.235 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/0.6318, allocations: 1.94 MB / 1.236 GB, free: 0.582 MB / 0.9825 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.006722/0.6385, allocations: 3.575 MB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.642, allocations: 1.378 MB / 1.241 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.6436, allocations: 0.6167 MB / 1.242 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.6443, allocations: 482.5 kB / 1.242 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.6464, allocations: 0.8205 MB / 1.243 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.176e-06/0.6464, allocations: 0 / 1.243 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006246/0.6526, allocations: 1.996 MB / 1.245 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.6528, allocations: 196.9 kB / 1.245 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.6538, allocations: 0.6411 MB / 1.246 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6539, allocations: 49.7 kB / 1.246 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.6543, allocations: 440.5 kB / 1.246 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.6547, allocations: 362.8 kB / 1.247 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.6548, allocations: 89.66 kB / 1.247 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.655, allocations: 394.7 kB / 1.247 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.6566, allocations: 0.5094 MB / 1.248 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.6582, allocations: 0.6209 MB / 1.248 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.6613, allocations: 1.101 MB / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6613, allocations: 0 / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004166/0.6655, allocations: 1.391 MB / 1.251 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6656, allocations: 5.562 kB / 1.251 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6656, allocations: 4.047 kB / 1.251 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.6662, allocations: 92.89 kB / 1.251 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.6677, allocations: 271.6 kB / 1.251 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8053/1.473, allocations: 1.519 MB / 1.253 GB, free: 33.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.475, allocations: 177.5 kB / 1.253 GB, free: 33.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.475, allocations: 45.98 kB / 1.253 GB, free: 33.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * Array equations: 0 * 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.0008656/1.476, allocations: 298 kB / 1.253 GB, free: 33.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/1.476, allocations: 93.56 kB / 1.253 GB, free: 33.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/1.482, allocations: 1.691 MB / 1.255 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.482, allocations: 15.19 kB / 1.255 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.482, allocations: 0 / 1.255 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.482, allocations: 7.906 kB / 1.255 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/1.489, allocations: 2.813 MB / 1.258 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.489, allocations: 3.125 kB / 1.258 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.49, allocations: 257.7 kB / 1.258 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/1.491, allocations: 86.91 kB / 1.258 GB, free: 33.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/1.491, allocations: 34.41 kB / 1.258 GB, free: 33.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/1.493, allocations: 1.546 MB / 1.259 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.493, allocations: 3.25 kB / 1.259 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/1.497, allocations: 1.542 MB / 1.261 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/1.498, allocations: 331.5 kB / 1.261 GB, free: 31.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.498, allocations: 29.56 kB / 1.261 GB, free: 31.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.499, allocations: 146.4 kB / 1.261 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.499, allocations: 88.95 kB / 1.261 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/1.499, allocations: 48.14 kB / 1.262 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000587/1.5, allocations: 471.4 kB / 1.262 GB, free: 31.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.5, allocations: 0 / 1.262 GB, free: 31.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001196/1.501, allocations: 401.5 kB / 1.262 GB, free: 31.47 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001487/1.503, allocations: 0.6376 MB / 1.263 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003993/1.507, allocations: 1.409 MB / 1.264 GB, free: 31.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/1.507, allocations: 7.484 kB / 1.264 GB, free: 31.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.509, allocations: 0.819 MB / 1.265 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.51, allocations: 283.7 kB / 1.265 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/1.515, allocations: 2.643 MB / 1.268 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/1.516, allocations: 1.082 MB / 1.269 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001813/1.518, allocations: 342.2 kB / 1.269 GB, free: 28.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/1.518, allocations: 126.7 kB / 1.27 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.518, allocations: 0 / 1.27 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.04331/1.561, allocations: 17.45 MB / 1.287 GB, free: 27.73 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)