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.001508/0.001508, 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.001869/0.001869, allocations: 192.9 kB / 16.13 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 66.19 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007208/0.3658, allocations: 5.17 MB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.54, allocations: 148.4 MB / 1.217 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5413, allocations: 15.94 kB / 1.217 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.5419, allocations: 162.8 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5435, allocations: 477.2 kB / 1.218 GB, free: 176 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.5454, allocations: 0.7457 MB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.5467, allocations: 1.362 MB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.5476, allocations: 0.6408 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.5482, allocations: 462.2 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.5488, allocations: 0.5211 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.5489, allocations: 64 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008569/0.5498, allocations: 411.6 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.5501, allocations: 259 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.5506, allocations: 0.5594 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5521, allocations: 1.651 MB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5521, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5521, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.5521, allocations: 0 / 1.225 GB, free: 9.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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002607/0.5547, allocations: 1.512 MB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5548, allocations: 12.03 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.5564, allocations: 303.2 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.5575, allocations: 0.7617 MB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.5575, allocations: 73.94 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.5577, allocations: 95.94 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5596, allocations: 1.07 MB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5596, allocations: 0 / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.5597, allocations: 40 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5597, allocations: 27.94 kB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.562, allocations: 1.272 MB / 1.23 GB, free: 4.191 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.004494/0.5665, allocations: 2.982 MB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.5692, allocations: 1.028 MB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.57, allocations: 358.7 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.5701, allocations: 36.53 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.5712, allocations: 0.5567 MB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.385e-06/0.5713, allocations: 4 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003894/0.5752, allocations: 1.38 MB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.5753, allocations: 196.9 kB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.576, allocations: 0.6371 MB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.5761, allocations: 45.7 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.5764, allocations: 428.2 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.5766, allocations: 276 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.5769, allocations: 170.5 kB / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5771, allocations: 390.7 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.5779, allocations: 325.8 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.5787, allocations: 423 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.5803, allocations: 0.7101 MB / 1.239 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5803, allocations: 0 / 1.239 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002397/0.5827, allocations: 0.9619 MB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5827, allocations: 9.656 kB / 1.24 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5828, allocations: 4 kB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.5834, allocations: 84.7 kB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.5842, allocations: 191.8 kB / 1.24 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5864, allocations: 1.523 MB / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.5873, allocations: 123.3 kB / 1.242 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.5874, allocations: 35.97 kB / 1.242 GB, free: 6.922 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.0004428/0.5878, allocations: 283.3 kB / 1.242 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.588, allocations: 82.97 kB / 1.242 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.591, allocations: 1.206 MB / 1.244 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.591, allocations: 11.94 kB / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.591, allocations: 0 / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5911, allocations: 7.984 kB / 1.244 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/0.5952, allocations: 2.143 MB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5952, allocations: 0 / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/0.596, allocations: 175.8 kB / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.5966, allocations: 80.78 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.5967, allocations: 27.97 kB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.5987, allocations: 1.555 MB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.5987, allocations: 0 / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6975/1.296, allocations: 1.113 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/1.297, allocations: 276.5 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.297, allocations: 21.03 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.298, allocations: 88.78 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/1.299, allocations: 74.98 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/1.299, allocations: 37.98 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008023/1.3, allocations: 468.8 kB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.3, allocations: 0 / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001225/1.301, allocations: 340.9 kB / 1.25 GB, free: 182.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: 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.001594/1.302, allocations: 0.6113 MB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.305, allocations: 0.9537 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.305, allocations: 0 / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.306, allocations: 0.5819 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.308, allocations: 282.3 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/1.312, allocations: 2.247 MB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/1.313, allocations: 1.049 MB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001127/1.314, allocations: 276.8 kB / 1.256 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/1.314, allocations: 115.1 kB / 1.256 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.314, allocations: 0 / 1.256 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03239/1.347, allocations: 15.22 MB / 1.271 GB, free: 178.5 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)