Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 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.001219/0.001219, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7451 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.45 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007656/0.2841, allocations: 5.164 MB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.4403, allocations: 150.7 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.4413, allocations: 15.94 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.4421, allocations: 198.1 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.4441, allocations: 0.5814 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.4462, allocations: 0.8484 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00229/0.4486, allocations: 1.452 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.4497, allocations: 0.6536 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.4507, allocations: 0.5178 MB / 1.225 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.4515, allocations: 0.5498 MB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.4517, allocations: 128 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4529, allocations: 471.6 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.4532, allocations: 326.9 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.4538, allocations: 0.6142 MB / 1.227 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.4556, allocations: 1.702 MB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4556, allocations: 3.938 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4556, allocations: 0 / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4557, allocations: 4 kB / 1.228 GB, free: 5.957 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002459/0.4581, allocations: 1.5 MB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4582, allocations: 11.97 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.4598, allocations: 307.2 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.4608, allocations: 0.7655 MB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.4609, allocations: 74 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.461, allocations: 92 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.4629, allocations: 1.074 MB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4629, allocations: 0 / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.463, allocations: 39.98 kB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.463, allocations: 24 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.4653, allocations: 1.272 MB / 1.233 GB, free: 0.6758 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.004323/0.4697, allocations: 2.978 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.4723, allocations: 1.037 MB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.473, allocations: 362.6 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.4731, allocations: 40.59 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.4743, allocations: 0.5528 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.076e-06/0.4743, allocations: 0 / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003946/0.4783, allocations: 1.387 MB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4784, allocations: 192.9 kB / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.4792, allocations: 0.6371 MB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.4793, allocations: 41.7 kB / 1.24 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.4796, allocations: 428.2 kB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.4798, allocations: 284 kB / 1.241 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.4801, allocations: 170.5 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4803, allocations: 382.8 kB / 1.241 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.481, allocations: 325.8 kB / 1.242 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.4819, allocations: 427 kB / 1.242 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4836, allocations: 0.7062 MB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4836, allocations: 0 / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002542/0.4861, allocations: 0.9697 MB / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4862, allocations: 4 kB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4862, allocations: 8.094 kB / 1.244 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.4868, allocations: 84.77 kB / 1.244 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.4876, allocations: 183.7 kB / 1.244 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.4898, allocations: 1.63 MB / 1.246 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009977/0.4908, allocations: 119.2 kB / 1.246 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.4909, allocations: 35.97 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (98): * Single equations (assignments): 97 * 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.0007951/0.4917, allocations: 275.6 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.4919, allocations: 86.97 kB / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.4947, allocations: 1.21 MB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4948, allocations: 12 kB / 1.247 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4948, allocations: 0 / 1.247 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.4948, allocations: 7.984 kB / 1.247 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5593/1.054, allocations: 2.134 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.054, allocations: 3.625 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.055, allocations: 172.8 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/1.055, allocations: 74.69 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/1.056, allocations: 28.17 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.057, allocations: 1.651 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.057, allocations: 1.453 kB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.06, allocations: 1.119 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/1.06, allocations: 278.9 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.061, allocations: 23.81 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/1.061, allocations: 84.83 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.062, allocations: 78.28 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/1.062, allocations: 36.52 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006536/1.062, allocations: 464.6 kB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.062, allocations: 0 / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009985/1.063, allocations: 348.9 kB / 1.254 GB, free: 181.6 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 (97): * Single equations (assignments): 91 * 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.001308/1.065, allocations: 0.6118 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.068, allocations: 1.168 MB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.068, allocations: 4.719 kB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.069, allocations: 0.5773 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.07, allocations: 309.2 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/1.073, allocations: 1.811 MB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.073, allocations: 1.045 MB / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00083/1.074, allocations: 282 kB / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.074, allocations: 114.9 kB / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.074, allocations: 0 / 1.259 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02677/1.101, allocations: 15.89 MB / 1.275 GB, free: 176.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)