Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001131/0.001131, allocations: 105.1 kB / 16.37 MB, free: 6.309 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.001124/0.001124, allocations: 191.7 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 79.02 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2158, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.3398/0.5556, allocations: 4.395 MB / 0.7891 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.723, allocations: 150.4 MB / 0.9359 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.7242, allocations: 15.94 kB / 0.936 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.7251, allocations: 174.3 kB / 0.9361 GB, free: 15.04 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002391/0.7276, allocations: 432.9 kB / 0.9365 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.7301, allocations: 0.8698 MB / 0.9374 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.7326, allocations: 1.344 MB / 0.9387 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.7338, allocations: 0.6954 MB / 0.9394 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.7348, allocations: 0.5099 MB / 0.9399 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009756/0.7358, allocations: 0.5601 MB / 0.9404 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.7362, allocations: 124.8 kB / 0.9405 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.7373, allocations: 447.6 kB / 0.941 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.7377, allocations: 323 kB / 0.9413 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.7384, allocations: 0.5828 MB / 0.9418 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.7405, allocations: 1.659 MB / 0.9435 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7405, allocations: 0 / 0.9435 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7406, allocations: 0 / 0.9435 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.7406, allocations: 0 / 0.9435 GB, free: 7.496 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002675/0.7433, allocations: 1.524 MB / 0.9449 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7433, allocations: 13.81 kB / 0.945 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.7483, allocations: 0.716 MB / 0.9457 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7496, allocations: 0.7889 MB / 0.9464 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.7496, allocations: 74.03 kB / 0.9465 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7498, allocations: 96 kB / 0.9466 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.7528, allocations: 1.336 MB / 0.9479 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7528, allocations: 4 kB / 0.9479 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.753, allocations: 40 kB / 0.9479 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.753, allocations: 24 kB / 0.948 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/0.7575, allocations: 1.783 MB / 0.9497 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.7631, allocations: 3.084 MB / 0.9527 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.7663, allocations: 1.211 MB / 0.9539 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.7678, allocations: 0.5484 MB / 0.9544 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.7685, allocations: 490.5 kB / 0.9549 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.7702, allocations: 0.7114 MB / 0.9556 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=99): time 2.986e-06/0.7702, allocations: 0 / 0.9556 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99): time 0.005691/0.7759, allocations: 1.795 MB / 0.9573 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.776, allocations: 190.3 kB / 0.9575 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.7767, allocations: 0.5861 MB / 0.9581 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.7768, allocations: 45.7 kB / 0.9581 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.7771, allocations: 408.5 kB / 0.9585 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.7774, allocations: 327.2 kB / 0.9588 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.7777, allocations: 190.5 kB / 0.959 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7779, allocations: 394.7 kB / 0.9594 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.7792, allocations: 461.7 kB / 0.9598 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.7807, allocations: 0.5584 MB / 0.9604 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.7835, allocations: 0.992 MB / 0.9614 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7835, allocations: 4 kB / 0.9614 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004063/0.7876, allocations: 1.259 MB / 0.9626 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7877, allocations: 4.781 kB / 0.9626 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7877, allocations: 0 / 0.9626 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.7883, allocations: 92.78 kB / 0.9627 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.7896, allocations: 250.3 kB / 0.9629 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.7917, allocations: 1.628 MB / 0.9645 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.7929, allocations: 140.1 kB / 0.9646 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.793, allocations: 47.95 kB / 0.9647 GB, free: 1.113 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.000528/0.7935, allocations: 269.6 kB / 0.965 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.7937, allocations: 87.66 kB / 0.965 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/0.798, allocations: 1.495 MB / 0.9665 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.798, allocations: 7.922 kB / 0.9665 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.798, allocations: 0 / 0.9665 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.7984, allocations: 295.6 kB / 0.9668 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.7986, allocations: 20 kB / 0.9668 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.7996, allocations: 105.6 kB / 0.9669 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7997, allocations: 73.64 kB / 0.967 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004141/0.8039, allocations: 1.408 MB / 0.9683 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00497/0.8089, allocations: 2.066 MB / 0.9704 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001445/0.8103, allocations: 0.5778 MB / 0.9709 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006546/0.811, allocations: 431 kB / 0.9713 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of Backend: time 5.41e-07/0.811, allocations: 0 / 0.9713 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004493/0.8155, allocations: 1.421 MB / 0.9727 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003282/0.8188, allocations: 2.136 MB / 0.9748 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of Templates: time 0.03059/0.8494, allocations: 19.22 MB / 0.9936 GB, free: 3.984 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)