Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 391.2 MB / 407 MB, free: 10.76 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 197.3 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.3 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 48.02 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.315, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007014/0.322, allocations: 4.193 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.4697, allocations: 148.2 MB / 1.367 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4708, allocations: 19.88 kB / 1.367 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.4714, allocations: 135 kB / 1.367 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.4732, allocations: 401.3 kB / 1.367 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.4752, allocations: 0.7145 MB / 1.368 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.4766, allocations: 1.129 MB / 1.369 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4776, allocations: 0.6831 MB / 1.37 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.4783, allocations: 406.3 kB / 1.37 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.4788, allocations: 465.8 kB / 1.371 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4789, allocations: 63.94 kB / 1.371 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009487/0.4799, allocations: 407.7 kB / 1.371 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.4802, allocations: 231.1 kB / 1.371 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.4806, allocations: 0.4932 MB / 1.372 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4822, allocations: 1.488 MB / 1.373 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4822, allocations: 0 / 1.373 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4822, allocations: 7.984 kB / 1.373 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4822, allocations: 0 / 1.373 GB, free: 5.562 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002431/0.4847, allocations: 1.39 MB / 1.375 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4847, allocations: 15.98 kB / 1.375 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4864, allocations: 295.3 kB / 1.375 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.4875, allocations: 0.7305 MB / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.4876, allocations: 70 kB / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4877, allocations: 91.94 kB / 1.376 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.4895, allocations: 1.003 MB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4896, allocations: 7.922 kB / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.4897, allocations: 44 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4897, allocations: 20 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4919, allocations: 1.214 MB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.4965, allocations: 2.579 MB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.4989, allocations: 0.9391 MB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.4996, allocations: 330.7 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.4997, allocations: 36.67 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.5009, allocations: 491.2 kB / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 2.395e-06/0.5009, allocations: 0 / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.003672/0.5045, allocations: 1.234 MB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5047, allocations: 192.6 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.5055, allocations: 0.6017 MB / 1.384 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.5056, allocations: 45.7 kB / 1.384 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.506, allocations: 400.3 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.5062, allocations: 240.4 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.5065, allocations: 162.4 kB / 1.385 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.5068, allocations: 382.7 kB / 1.385 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.5075, allocations: 289.8 kB / 1.386 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.5083, allocations: 387 kB / 1.386 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.5098, allocations: 0.654 MB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5098, allocations: 0 / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002282/0.5121, allocations: 0.8839 MB / 1.388 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.5122, allocations: 4 kB / 1.388 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5122, allocations: 0 / 1.388 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.5128, allocations: 88.8 kB / 1.388 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.5135, allocations: 171.8 kB / 1.388 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5156, allocations: 1.512 MB / 1.389 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.5163, allocations: 103.5 kB / 1.389 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.5164, allocations: 39.97 kB / 1.39 GB, free: 4.461 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0004514/0.5168, allocations: 263.3 kB / 1.39 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.517, allocations: 90.91 kB / 1.39 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.5197, allocations: 1.1 MB / 1.391 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5197, allocations: 8 kB / 1.391 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5197, allocations: 0 / 1.391 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5198, allocations: 3.984 kB / 1.391 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.5237, allocations: 2.031 MB / 1.393 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5237, allocations: 0 / 1.393 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.5244, allocations: 171.8 kB / 1.393 GB, free: 0.7148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.525, allocations: 80.78 kB / 1.393 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.525, allocations: 27.97 kB / 1.393 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.5268, allocations: 1.544 MB / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5268, allocations: 0 / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.5304, allocations: 2.084 MB / 1.397 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.5308, allocations: 263.8 kB / 1.397 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.5309, allocations: 24 kB / 1.397 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.5315, allocations: 73.02 kB / 1.397 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5317, allocations: 56.91 kB / 1.397 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.5318, allocations: 35.98 kB / 1.397 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005837/0.5324, allocations: 435 kB / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5324, allocations: 0 / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001038/0.5334, allocations: 315 kB / 1.398 GB, free: 11.59 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001422/0.5348, allocations: 0.6017 MB / 1.398 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.5369, allocations: 0.8587 MB / 1.399 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.537, allocations: 4 kB / 1.399 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5381, allocations: 0.5431 MB / 1.4 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5395, allocations: 257.8 kB / 1.4 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.5445, allocations: 2.661 MB / 1.403 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.5452, allocations: 1.05 MB / 1.404 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009778/0.5462, allocations: 266.1 kB / 1.404 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.5465, allocations: 111.4 kB / 1.404 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of SimCode: time 9.11e-07/0.5465, allocations: 0 / 1.404 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of Templates: time 0.0269/0.5734, allocations: 14.24 MB / 1.418 GB, free: 7.254 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)