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.001395/0.001395, 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.001628/0.001628, allocations: 195.2 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.38 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006674/0.3109, allocations: 5.167 MB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1677/0.4787, allocations: 150.7 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.4799, allocations: 15.94 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.4806, allocations: 202.1 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.4833, allocations: 0.5588 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.4863, allocations: 0.8674 MB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.4885, allocations: 1.448 MB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4899, allocations: 0.6522 MB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.4908, allocations: 0.5216 MB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.4914, allocations: 0.5407 MB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.4916, allocations: 124 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.4926, allocations: 491.6 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.4928, allocations: 315 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.4934, allocations: 0.6142 MB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.4953, allocations: 1.71 MB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4953, allocations: 0 / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4953, allocations: 0 / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.4954, allocations: 0 / 1.228 GB, free: 5.91 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.002585/0.4979, allocations: 1.504 MB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.498, allocations: 8.031 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.4991, allocations: 219.2 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5002, allocations: 0.7577 MB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.5002, allocations: 74 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.5003, allocations: 95.98 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.502, allocations: 1.012 MB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.502, allocations: 0 / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.5021, allocations: 47.98 kB / 1.232 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5022, allocations: 24 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.504, allocations: 1.171 MB / 1.233 GB, free: 0.8711 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.004189/0.5082, allocations: 2.957 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.51, allocations: 0.9165 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/0.5106, allocations: 318.7 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.5113, allocations: 474.1 kB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.5122, allocations: 0.5069 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.5122, allocations: 0 / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003438/0.5157, allocations: 1.24 MB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5158, allocations: 188.6 kB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.5166, allocations: 0.641 MB / 1.24 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.5167, allocations: 49.7 kB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.517, allocations: 420.2 kB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.5172, allocations: 268.2 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.5174, allocations: 166.5 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5176, allocations: 386.8 kB / 1.241 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.5183, allocations: 281.8 kB / 1.242 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.519, allocations: 375.1 kB / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5202, allocations: 0.6229 MB / 1.243 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5202, allocations: 4 kB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002214/0.5225, allocations: 0.876 MB / 1.243 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5225, allocations: 7.984 kB / 1.243 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5225, allocations: 7.984 kB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.5231, allocations: 80.88 kB / 1.243 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.5239, allocations: 159.8 kB / 1.244 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.5262, allocations: 1.636 MB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/0.5271, allocations: 108.4 kB / 1.245 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.5272, allocations: 31.97 kB / 1.245 GB, free: 3.656 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.0006246/0.5278, allocations: 284.8 kB / 1.246 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5281, allocations: 86.91 kB / 1.246 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.5307, allocations: 1.089 MB / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5307, allocations: 12 kB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5308, allocations: 0 / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.5308, allocations: 11.97 kB / 1.247 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.5343, allocations: 1.997 MB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5343, allocations: 0 / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6468/1.181, allocations: 148.7 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005691/1.182, allocations: 69.86 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.182, allocations: 25.73 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/1.184, allocations: 1.663 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.184, allocations: 5.438 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/1.186, allocations: 1.015 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/1.187, allocations: 274.6 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.187, allocations: 27.19 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/1.188, allocations: 61.34 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.188, allocations: 72.59 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/1.188, allocations: 33.45 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000693/1.189, allocations: 468.4 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.189, allocations: 3.188 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001134/1.19, allocations: 352.6 kB / 1.253 GB, free: 181.9 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.001457/1.191, allocations: 0.6257 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.194, allocations: 1.063 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.194, allocations: 1.031 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.195, allocations: 0.5293 MB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.196, allocations: 311.2 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.2, allocations: 1.747 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/1.2, allocations: 1.04 MB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008482/1.201, allocations: 271.8 kB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.201, allocations: 111.9 kB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.201, allocations: 0 / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03311/1.234, allocations: 15.77 MB / 1.274 GB, free: 177.5 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)