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.001121/0.001121, allocations: 116.4 kB / 16.42 MB, free: 6.5 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.001209/0.001209, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 286.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9847/0.9847, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 103.8 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4363, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00569/0.442, allocations: 4.42 MB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1555/0.5975, allocations: 150.6 MB / 0.9184 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.5984, allocations: 19.88 kB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.5992, allocations: 178.3 kB / 0.9186 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.6012, allocations: 0.5058 MB / 0.9191 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6034, allocations: 0.848 MB / 0.9199 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.6051, allocations: 1.336 MB / 0.9212 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6062, allocations: 0.7117 MB / 0.9219 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.6071, allocations: 0.4982 MB / 0.9224 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.6079, allocations: 0.5445 MB / 0.9229 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.6082, allocations: 124 kB / 0.9231 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.6093, allocations: 0.4918 MB / 0.9235 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.6097, allocations: 315 kB / 0.9238 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000762/0.6105, allocations: 0.5907 MB / 0.9244 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.6128, allocations: 1.708 MB / 0.9261 GB, free: 420 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6128, allocations: 3.938 kB / 0.9261 GB, free: 416 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6128, allocations: 0 / 0.9261 GB, free: 416 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.296e-05/0.6129, allocations: 0 / 0.9261 GB, free: 416 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.003295/0.6162, allocations: 1.489 MB / 0.9275 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6163, allocations: 19.91 kB / 0.9276 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.6181, allocations: 303.2 kB / 0.9279 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.6194, allocations: 0.7773 MB / 0.9286 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.6195, allocations: 74 kB / 0.9287 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6196, allocations: 99.98 kB / 0.9288 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.6217, allocations: 1.074 MB / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6217, allocations: 0 / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.6218, allocations: 40 kB / 0.9299 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6218, allocations: 24 kB / 0.9299 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.6242, allocations: 1.272 MB / 0.9311 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.6285, allocations: 2.676 MB / 0.9337 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.6311, allocations: 1.023 MB / 0.9347 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.6319, allocations: 362.6 kB / 0.9351 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.9e-05/0.632, allocations: 32.59 kB / 0.9351 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.6331, allocations: 0.5607 MB / 0.9357 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.6331, allocations: 0 / 0.9357 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003933/0.6371, allocations: 1.376 MB / 0.937 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.6372, allocations: 196.9 kB / 0.9372 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.6379, allocations: 0.641 MB / 0.9378 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.638, allocations: 41.7 kB / 0.9379 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.6383, allocations: 424.2 kB / 0.9383 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.6385, allocations: 272.1 kB / 0.9385 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.6388, allocations: 170.4 kB / 0.9387 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6389, allocations: 398.7 kB / 0.9391 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.6397, allocations: 317.8 kB / 0.9394 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.6406, allocations: 423 kB / 0.9398 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.6422, allocations: 0.7101 MB / 0.9405 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6422, allocations: 0 / 0.9405 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002464/0.6447, allocations: 0.9619 MB / 0.9414 GB, free: 344 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6447, allocations: 10.66 kB / 0.9414 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6447, allocations: 3.938 kB / 0.9414 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6453, allocations: 80.86 kB / 0.9415 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.6462, allocations: 195.7 kB / 0.9417 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.6483, allocations: 1.626 MB / 0.9433 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.6491, allocations: 111.3 kB / 0.9434 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.6492, allocations: 39.97 kB / 0.9434 GB, free: 14.13 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.0004809/0.6497, allocations: 281.7 kB / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.6499, allocations: 86.95 kB / 0.9438 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.653, allocations: 1.198 MB / 0.9449 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.653, allocations: 11.91 kB / 0.945 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.653, allocations: 0 / 0.945 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.6535, allocations: 275.7 kB / 0.9452 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6536, allocations: 16 kB / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.6544, allocations: 87.91 kB / 0.9453 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6546, allocations: 68.91 kB / 0.9454 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003555/0.6582, allocations: 1.096 MB / 0.9465 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004425/0.6626, allocations: 1.594 MB / 0.948 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001216/0.6638, allocations: 423.9 kB / 0.9484 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008837/0.6647, allocations: 463 kB / 0.9489 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of Backend: time 6.31e-07/0.6648, allocations: 0 / 0.9489 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004931/0.6697, allocations: 1.338 MB / 0.9502 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004421/0.6741, allocations: 2.128 MB / 0.9522 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.3478/1.022, allocations: 17.15 MB / 0.969 GB, free: 185.1 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)