Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001117/0.001117, allocations: 113 kB / 16.42 MB, free: 6.445 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.001134/0.001135, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 291.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9714/0.9714, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001857, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4213, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005637/0.427, allocations: 4.416 MB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.585, allocations: 150.6 MB / 0.9184 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00097/0.586, allocations: 15.94 kB / 0.9184 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.5869, allocations: 178.3 kB / 0.9186 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.589, allocations: 0.5045 MB / 0.9191 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.5913, allocations: 0.8456 MB / 0.9199 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.5932, allocations: 1.336 MB / 0.9212 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.5945, allocations: 0.7039 MB / 0.9219 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.5954, allocations: 0.506 MB / 0.9224 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009233/0.5963, allocations: 0.5329 MB / 0.9229 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.5967, allocations: 128 kB / 0.9231 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5979, allocations: 0.4956 MB / 0.9235 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.5984, allocations: 319 kB / 0.9238 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.5992, allocations: 0.5829 MB / 0.9244 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.6016, allocations: 1.712 MB / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6016, allocations: 4 kB / 0.9261 GB, free: 392 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6016, allocations: 0 / 0.9261 GB, free: 392 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.653e-05/0.6017, allocations: 4 kB / 0.9261 GB, free: 388 kB / 0.6856 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.00328/0.605, allocations: 1.492 MB / 0.9275 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.605, allocations: 8.031 kB / 0.9276 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.6068, allocations: 299.2 kB / 0.9278 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.6082, allocations: 0.7811 MB / 0.9286 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.6083, allocations: 78 kB / 0.9287 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6085, allocations: 104 kB / 0.9288 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.6106, allocations: 1.07 MB / 0.9298 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6106, allocations: 0 / 0.9298 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/0.6107, allocations: 36 kB / 0.9299 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.6108, allocations: 28 kB / 0.9299 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.6132, allocations: 1.272 MB / 0.9311 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.618, allocations: 2.672 MB / 0.9337 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.6207, allocations: 1.028 MB / 0.9347 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/0.6216, allocations: 366.6 kB / 0.9351 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.6217, allocations: 32.59 kB / 0.9351 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.6228, allocations: 0.5568 MB / 0.9357 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.427e-06/0.6228, allocations: 0 / 0.9357 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004002/0.6269, allocations: 1.38 MB / 0.937 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.627, allocations: 192.9 kB / 0.9372 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.6279, allocations: 0.6371 MB / 0.9378 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/0.628, allocations: 41.7 kB / 0.9379 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.6284, allocations: 428.2 kB / 0.9383 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.6286, allocations: 276.1 kB / 0.9385 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.6289, allocations: 170.4 kB / 0.9387 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.629, allocations: 386.7 kB / 0.9391 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.6299, allocations: 321.8 kB / 0.9394 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/0.6308, allocations: 423 kB / 0.9398 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.6326, allocations: 0.7062 MB / 0.9405 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6327, allocations: 0 / 0.9405 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002597/0.6353, allocations: 0.9696 MB / 0.9414 GB, free: 316 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6353, allocations: 11.94 kB / 0.9414 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6353, allocations: 0 / 0.9414 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/0.636, allocations: 84.86 kB / 0.9415 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.6369, allocations: 191.7 kB / 0.9417 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.6394, allocations: 1.622 MB / 0.9433 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6404, allocations: 127.4 kB / 0.9434 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6406, allocations: 35.97 kB / 0.9434 GB, free: 14.1 MB / 0.7169 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 (98): * Single equations (assignments): 97 * 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.0005281/0.6411, allocations: 273.8 kB / 0.9437 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.6413, allocations: 86.97 kB / 0.9438 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.6443, allocations: 1.206 MB / 0.9449 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6443, allocations: 7.969 kB / 0.9449 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6444, allocations: 0 / 0.9449 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.6448, allocations: 271.7 kB / 0.9452 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.6449, allocations: 28 kB / 0.9452 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.6457, allocations: 79.91 kB / 0.9453 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6458, allocations: 68.91 kB / 0.9454 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002696/0.6485, allocations: 1.1 MB / 0.9465 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003135/0.6517, allocations: 1.59 MB / 0.948 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008923/0.6526, allocations: 427.8 kB / 0.9484 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006592/0.6533, allocations: 463 kB / 0.9489 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Backend: time 1.312e-06/0.6533, allocations: 0 / 0.9489 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.6572, allocations: 1.335 MB / 0.9502 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003836/0.661, allocations: 2.113 MB / 0.9522 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.3648/1.026, allocations: 17.15 MB / 0.969 GB, free: 185 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)