Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, 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.001961/0.001961, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 66.44 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00676/0.3776, allocations: 4.853 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.5605, allocations: 148.3 MB / 1.217 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.5617, allocations: 15.88 kB / 1.217 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.5624, allocations: 154.8 kB / 1.217 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.5641, allocations: 466.8 kB / 1.218 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.566, allocations: 0.7223 MB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.5673, allocations: 1.284 MB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.5682, allocations: 0.5634 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.5688, allocations: 414.3 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.5694, allocations: 473.8 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.5695, allocations: 52 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/0.5704, allocations: 399.6 kB / 1.221 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.5707, allocations: 235 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.5712, allocations: 0.4933 MB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5729, allocations: 1.534 MB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5729, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5729, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.5729, allocations: 4 kB / 1.224 GB, free: 10.41 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002681/0.5756, allocations: 1.414 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.5757, allocations: 12.03 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.5767, allocations: 183.4 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5778, allocations: 0.7422 MB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.5779, allocations: 66 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.578, allocations: 76 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5796, allocations: 0.9184 MB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5797, allocations: 0 / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.5798, allocations: 36 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.5798, allocations: 20 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.5817, allocations: 1.108 MB / 1.228 GB, free: 5.707 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.004496/0.5862, allocations: 2.697 MB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5877, allocations: 0.7946 MB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.5882, allocations: 306.6 kB / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.5883, allocations: 28.69 kB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.5893, allocations: 495.1 kB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 4.258e-06/0.5893, allocations: 0 / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.00341/0.5928, allocations: 1.198 MB / 1.233 GB, free: 28 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.5929, allocations: 196.6 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/0.5939, allocations: 0.6254 MB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.594, allocations: 41.7 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.5943, allocations: 396.3 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.5946, allocations: 268.1 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.5949, allocations: 162.5 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5951, allocations: 390.7 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.5957, allocations: 265.9 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.5964, allocations: 367.1 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5975, allocations: 0.6033 MB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5976, allocations: 0 / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002131/0.5997, allocations: 0.8566 MB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5997, allocations: 8 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5997, allocations: 0 / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.6004, allocations: 80.84 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.6011, allocations: 163.7 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.6036, allocations: 1.527 MB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.6045, allocations: 91.31 kB / 1.239 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.6046, allocations: 31.98 kB / 1.239 GB, free: 9.754 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 (95): * Single equations (assignments): 94 * 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.0005502/0.6051, allocations: 275.7 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.6054, allocations: 86.91 kB / 1.24 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.6079, allocations: 1.054 MB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.608, allocations: 12 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.608, allocations: 0 / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.608, allocations: 3.984 kB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6093, allocations: 0.8956 MB / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.6093, allocations: 0 / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.6099, allocations: 139.8 kB / 1.242 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000568/0.6105, allocations: 80.78 kB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/0.6106, allocations: 27.97 kB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.6127, allocations: 1.559 MB / 1.243 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6127, allocations: 3.938 kB / 1.243 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.615, allocations: 0.9163 MB / 1.244 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.6155, allocations: 267.7 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6157, allocations: 31.92 kB / 1.245 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.6164, allocations: 67.88 kB / 1.245 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.6166, allocations: 68.89 kB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.6167, allocations: 31.98 kB / 1.245 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007221/0.6175, allocations: 455 kB / 1.245 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6175, allocations: 3.938 kB / 1.245 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001152/0.6186, allocations: 327.2 kB / 1.245 GB, free: 3.223 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001785/0.6204, allocations: 0.5992 MB / 1.246 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.6224, allocations: 0.8274 MB / 1.247 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6224, allocations: 0 / 1.247 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.6234, allocations: 0.5119 MB / 1.247 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6248, allocations: 281.7 kB / 1.248 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5491/1.174, allocations: 2.042 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/1.175, allocations: 1.022 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001215/1.176, allocations: 258.4 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/1.176, allocations: 108.3 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.176, allocations: 0 / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03802/1.214, allocations: 14.39 MB / 1.265 GB, free: 181.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)