Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00181/0.00181, allocations: 195.6 kB / 16.14 MB, free: 6.695 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.97 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00727/0.3775, allocations: 5.376 MB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.548, allocations: 148.5 MB / 1.218 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009771/0.549, allocations: 15.94 kB / 1.218 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.5496, allocations: 158.7 kB / 1.218 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.5512, allocations: 0.4892 MB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.5532, allocations: 0.8319 MB / 1.219 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.5546, allocations: 1.511 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000945/0.5556, allocations: 0.7182 MB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.5562, allocations: 0.5097 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.5568, allocations: 0.6106 MB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.5569, allocations: 72 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.5579, allocations: 439.6 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.5582, allocations: 290.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.5588, allocations: 0.606 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.5606, allocations: 1.807 MB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5606, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.41e-07/0.5606, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.5607, allocations: 0 / 1.226 GB, free: 8.293 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003138/0.5638, allocations: 1.676 MB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5639, allocations: 12.02 kB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/0.5693, allocations: 0.7561 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.5705, allocations: 0.8084 MB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.5705, allocations: 86.2 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.5707, allocations: 108 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.5739, allocations: 1.428 MB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.574, allocations: 0 / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.5741, allocations: 44 kB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5741, allocations: 32 kB / 1.23 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004733/0.5789, allocations: 1.885 MB / 1.232 GB, free: 1.285 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.006613/0.5855, allocations: 3.546 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.5889, allocations: 1.378 MB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.5904, allocations: 0.5933 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.5912, allocations: 482.5 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.5932, allocations: 0.8049 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.965e-06/0.5933, allocations: 4 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006303/0.5996, allocations: 1.973 MB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.5997, allocations: 192.9 kB / 1.241 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.6006, allocations: 0.6488 MB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.6007, allocations: 49.7 kB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.6011, allocations: 440.5 kB / 1.242 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.6015, allocations: 366.8 kB / 1.243 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.6018, allocations: 202.5 kB / 1.243 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.602, allocations: 398.7 kB / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.6035, allocations: 0.5016 MB / 1.244 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.605, allocations: 0.6091 MB / 1.244 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.6079, allocations: 1.086 MB / 1.245 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6079, allocations: 0 / 1.245 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00394/0.6119, allocations: 1.379 MB / 1.247 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6119, allocations: 4 kB / 1.247 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6119, allocations: 4 kB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.6126, allocations: 80.89 kB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.614, allocations: 267.6 kB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.616, allocations: 1.536 MB / 1.248 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.6173, allocations: 163.1 kB / 1.249 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6174, allocations: 51.97 kB / 1.249 GB, free: 12 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.7153/1.333, allocations: 283.5 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/1.333, allocations: 95.12 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/1.339, allocations: 1.675 MB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.339, allocations: 11.59 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.339, allocations: 1.516 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/1.339, allocations: 9.297 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/1.345, allocations: 2.795 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.346, allocations: 0 / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.347, allocations: 257.8 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000554/1.347, allocations: 85.61 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/1.348, allocations: 31.8 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.349, allocations: 1.551 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.349, allocations: 3.828 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/1.353, allocations: 1.533 MB / 1.257 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/1.354, allocations: 316.5 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/1.354, allocations: 32.72 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.355, allocations: 122.7 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/1.356, allocations: 86.23 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.356, allocations: 48.81 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006302/1.356, allocations: 471.7 kB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.356, allocations: 0 / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001152/1.357, allocations: 406.1 kB / 1.258 GB, free: 180.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 (122): * Single equations (assignments): 116 * 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.001573/1.359, allocations: 0.6254 MB / 1.259 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00368/1.363, allocations: 1.389 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.363, allocations: 2.75 kB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.365, allocations: 0.8117 MB / 1.261 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.366, allocations: 290.4 kB / 1.261 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/1.37, allocations: 2.62 MB / 1.264 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/1.371, allocations: 1.087 MB / 1.265 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001553/1.373, allocations: 342.2 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/1.373, allocations: 123.2 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.373, allocations: 1.562 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03835/1.411, allocations: 17.56 MB / 1.282 GB, free: 172.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)