Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008038/0.0008038, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009515/0.0009516, allocations: 181.5 kB / 16.59 MB, free: 6.504 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.419/1.419, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 11.98 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 77.53 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006214/0.1677, allocations: 4.458 MB / 0.5637 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4595/0.6273, allocations: 136.9 MB / 0.6973 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.6281, allocations: 19.88 kB / 0.6974 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.6287, allocations: 146.8 kB / 0.6975 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.6301, allocations: 473.6 kB / 0.698 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.6321, allocations: 0.6483 MB / 0.6986 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.6337, allocations: 1.268 MB / 0.6998 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008516/0.6346, allocations: 0.5166 MB / 0.7003 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.6351, allocations: 366.4 kB / 0.7007 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.6356, allocations: 386 kB / 0.701 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/0.6357, allocations: 28 kB / 0.7011 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.6364, allocations: 343.6 kB / 0.7014 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.6366, allocations: 187.1 kB / 0.7016 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.6368, allocations: 217.1 kB / 0.7018 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.638, allocations: 1.255 MB / 0.703 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6381, allocations: 0 / 0.703 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6381, allocations: 0 / 0.703 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6381, allocations: 4 kB / 0.703 GB, free: 4.004 MB / 0.5137 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.002353/0.6405, allocations: 1.294 MB / 0.7043 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6405, allocations: 12.03 kB / 0.7043 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.6421, allocations: 325.2 kB / 0.7046 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6432, allocations: 0.7264 MB / 0.7053 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.6432, allocations: 77.95 kB / 0.7054 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6434, allocations: 95.92 kB / 0.7055 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6454, allocations: 1.07 MB / 0.7065 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6455, allocations: 0 / 0.7065 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/0.6456, allocations: 36 kB / 0.7066 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.6456, allocations: 27.94 kB / 0.7066 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.648, allocations: 1.276 MB / 0.7078 GB, free: 14.94 MB / 0.5294 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.004609/0.6526, allocations: 3.01 MB / 0.7108 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.655, allocations: 1.031 MB / 0.7118 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.6557, allocations: 364.1 kB / 0.7121 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.6558, allocations: 32.61 kB / 0.7122 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.6569, allocations: 0.5665 MB / 0.7127 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=84): time 2.304e-06/0.657, allocations: 0 / 0.7127 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84): time 0.00359/0.6606, allocations: 1.395 MB / 0.7141 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6607, allocations: 192.9 kB / 0.7143 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.6615, allocations: 0.6333 MB / 0.7149 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.6615, allocations: 41.7 kB / 0.7149 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.6619, allocations: 432.2 kB / 0.7153 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.6621, allocations: 272 kB / 0.7156 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.6622, allocations: 12 kB / 0.7156 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6624, allocations: 390.7 kB / 0.716 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.6631, allocations: 325.8 kB / 0.7163 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.6639, allocations: 427 kB / 0.7167 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.6646, allocations: 358.8 kB / 0.717 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6647, allocations: 0 / 0.717 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002252/0.6669, allocations: 0.9698 MB / 0.718 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6669, allocations: 8 kB / 0.718 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.667, allocations: 0 / 0.718 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.6675, allocations: 84.8 kB / 0.7181 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.6683, allocations: 187.7 kB / 0.7182 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.6704, allocations: 1.528 MB / 0.7197 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/0.6712, allocations: 123.4 kB / 0.7198 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.6713, allocations: 39.97 kB / 0.7199 GB, free: 2.16 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.6717, allocations: 284.8 kB / 0.7202 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6718, allocations: 86.97 kB / 0.7202 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.6746, allocations: 1.215 MB / 0.7214 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6746, allocations: 11.94 kB / 0.7214 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6746, allocations: 3.953 kB / 0.7214 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6746, allocations: 3.984 kB / 0.7214 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.6782, allocations: 2.141 MB / 0.7235 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6782, allocations: 0 / 0.7235 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/0.679, allocations: 167.8 kB / 0.7237 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.6794, allocations: 88.77 kB / 0.7238 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.6795, allocations: 23.98 kB / 0.7238 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.6813, allocations: 1.552 MB / 0.7253 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6813, allocations: 3.938 kB / 0.7253 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.6835, allocations: 1.121 MB / 0.7264 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.684, allocations: 295.5 kB / 0.7267 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6841, allocations: 20 kB / 0.7267 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.6848, allocations: 113.4 kB / 0.7268 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.685, allocations: 76.83 kB / 0.7269 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.6851, allocations: 39.97 kB / 0.7269 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005604/0.6856, allocations: 459 kB / 0.7274 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6856, allocations: 4 kB / 0.7274 GB, free: 10.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009598/0.6866, allocations: 339.2 kB / 0.7277 GB, free: 9.895 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.6879, allocations: 0.5962 MB / 0.7283 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.69, allocations: 0.9601 MB / 0.7292 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.69, allocations: 0 / 0.7292 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.6912, allocations: 0.5822 MB / 0.7298 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.6925, allocations: 269.7 kB / 0.7301 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.696, allocations: 2.218 MB / 0.7322 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.6966, allocations: 1.056 MB / 0.7332 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009572/0.6976, allocations: 278.9 kB / 0.7335 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.6979, allocations: 103.4 kB / 0.7336 GB, free: 3.957 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.6979, allocations: 0 / 0.7336 GB, free: 3.957 MB / 0.545 GB Notification: Performance of Templates: time 0.0271/0.725, allocations: 14.67 MB / 0.7479 GB, free: 5.484 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)