Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002535/0.002535, allocations: 198 kB / 16.14 MB, free: 6.57 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.59 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3373, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.0069/0.3443, allocations: 5.162 MB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.5104, allocations: 148.4 MB / 1.217 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.5112, allocations: 15.94 kB / 1.218 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.5118, allocations: 150.8 kB / 1.218 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.5133, allocations: 497.2 kB / 1.218 GB, free: 76 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.5151, allocations: 0.7397 MB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5164, allocations: 1.358 MB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009027/0.5173, allocations: 0.6354 MB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.5179, allocations: 462.1 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.5185, allocations: 0.5094 MB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.5186, allocations: 64 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.5195, allocations: 431.5 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.5197, allocations: 262.9 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.5203, allocations: 0.5438 MB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.5218, allocations: 1.655 MB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5218, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5218, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.5218, allocations: 4 kB / 1.225 GB, free: 9.395 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002627/0.5244, allocations: 1.512 MB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5245, allocations: 12.03 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.5257, allocations: 215.2 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.5267, allocations: 0.7577 MB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.5268, allocations: 74 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5269, allocations: 88 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.5287, allocations: 1.016 MB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5287, allocations: 0 / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.5288, allocations: 40 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.5288, allocations: 28 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.5308, allocations: 1.175 MB / 1.229 GB, free: 4.352 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.004337/0.5351, allocations: 2.965 MB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.5368, allocations: 0.9174 MB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.5374, allocations: 310.7 kB / 1.233 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.5381, allocations: 478.1 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.5391, allocations: 0.5095 MB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.054e-06/0.5392, allocations: 0 / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003348/0.5425, allocations: 1.237 MB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5426, allocations: 188.6 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5435, allocations: 0.6488 MB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.5435, allocations: 41.7 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.5439, allocations: 424.2 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5441, allocations: 264.2 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.5444, allocations: 170.5 kB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5446, allocations: 386.8 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.5452, allocations: 277.8 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.5459, allocations: 371.1 kB / 1.238 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5471, allocations: 0.6307 MB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5471, allocations: 0 / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002054/0.5492, allocations: 0.8799 MB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5492, allocations: 7.938 kB / 1.24 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5492, allocations: 4 kB / 1.24 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.5499, allocations: 80.88 kB / 1.24 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.5506, allocations: 163.8 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.5527, allocations: 1.532 MB / 1.242 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.5535, allocations: 97.84 kB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.5536, allocations: 39.97 kB / 1.242 GB, free: 7.246 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 (96): * Single equations (assignments): 95 * 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.0004798/0.5541, allocations: 275.4 kB / 1.242 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.5543, allocations: 82.97 kB / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.5569, allocations: 1.097 MB / 1.243 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5569, allocations: 11.94 kB / 1.243 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5569, allocations: 4 kB / 1.243 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5569, allocations: 4.031 kB / 1.243 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.5604, allocations: 2.012 MB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5604, allocations: 0 / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.561, allocations: 147.8 kB / 1.245 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.5616, allocations: 84.77 kB / 1.245 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.5617, allocations: 23.98 kB / 1.245 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.5636, allocations: 1.548 MB / 1.247 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5636, allocations: 7.922 kB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.5658, allocations: 1.012 MB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.5663, allocations: 279.7 kB / 1.248 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5664, allocations: 20 kB / 1.248 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/0.5672, allocations: 71.92 kB / 1.248 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.5674, allocations: 72.84 kB / 1.248 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/0.5675, allocations: 35.97 kB / 1.248 GB, free: 208 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.7485/1.316, allocations: 463.7 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.22e-07/1.316, allocations: 0 / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002092/1.318, allocations: 357 kB / 1.249 GB, free: 183.2 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 (93): * Single equations (assignments): 87 * 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.001706/1.32, allocations: 0.6243 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.322, allocations: 0.851 MB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.322, allocations: 0.7812 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.323, allocations: 0.5307 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.325, allocations: 281.4 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/1.329, allocations: 2.179 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/1.329, allocations: 1.05 MB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001179/1.331, allocations: 273.3 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/1.331, allocations: 104.3 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.331, allocations: 0.7812 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of Templates: time 0.0324/1.363, allocations: 15.11 MB / 1.27 GB, free: 179.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)