Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 178.3 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205 MB / 0.5767 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007601/0.0007602, allocations: 93.28 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00434/0.2203, allocations: 3.884 MB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.3808, allocations: 148 MB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.3815, allocations: 11.94 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.382, allocations: 127 kB / 1.045 GB, free: 11.61 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3832, allocations: 373 kB / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.3852, allocations: 0.6897 MB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3862, allocations: 1.106 MB / 1.047 GB, free: 9.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008958/0.3872, allocations: 0.6267 MB / 1.048 GB, free: 8.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.3876, allocations: 310.4 kB / 1.048 GB, free: 8.508 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.388, allocations: 338 kB / 1.049 GB, free: 8.176 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.3881, allocations: 23.94 kB / 1.049 GB, free: 8.152 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.3887, allocations: 323.7 kB / 1.049 GB, free: 7.836 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.3889, allocations: 171.1 kB / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.3893, allocations: 405.2 kB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3906, allocations: 1.366 MB / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3906, allocations: 3.938 kB / 1.051 GB, free: 5.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3906, allocations: 0 / 1.051 GB, free: 5.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3906, allocations: 4 kB / 1.051 GB, free: 5.891 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001919/0.3926, allocations: 1.143 MB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3926, allocations: 8.031 kB / 1.052 GB, free: 4.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3937, allocations: 219.4 kB / 1.052 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.3946, allocations: 0.7149 MB / 1.053 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.3947, allocations: 69.98 kB / 1.053 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3948, allocations: 87.98 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.3964, allocations: 0.934 MB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3964, allocations: 3.938 kB / 1.054 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.3965, allocations: 40 kB / 1.054 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3965, allocations: 20 kB / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.3983, allocations: 1.124 MB / 1.055 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4045/0.8028, allocations: 2.543 MB / 1.057 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8044, allocations: 0.7511 MB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.8049, allocations: 290.8 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.8054, allocations: 478.5 kB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/0.8061, allocations: 441.9 kB / 1.059 GB, free: 158.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.006e-06/0.8061, allocations: 0 / 1.059 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002883/0.809, allocations: 1.121 MB / 1.06 GB, free: 158.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.8091, allocations: 193.9 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.8098, allocations: 0.5899 MB / 1.061 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.8099, allocations: 39 kB / 1.061 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.8101, allocations: 393.2 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.8103, allocations: 246.8 kB / 1.062 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/0.8104, allocations: 59.62 kB / 1.062 GB, free: 157.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8105, allocations: 378.6 kB / 1.062 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.811, allocations: 250.8 kB / 1.063 GB, free: 157.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.8116, allocations: 339.7 kB / 1.063 GB, free: 157.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.8126, allocations: 0.5865 MB / 1.063 GB, free: 157.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8126, allocations: 0 / 1.063 GB, free: 157.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001872/0.8145, allocations: 0.8069 MB / 1.064 GB, free: 157.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.8145, allocations: 9.031 kB / 1.064 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8146, allocations: 1.719 kB / 1.064 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.8152, allocations: 84.47 kB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.8158, allocations: 154.1 kB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.8177, allocations: 1.525 MB / 1.066 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.8183, allocations: 86.97 kB / 1.066 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.8184, allocations: 38.22 kB / 1.066 GB, free: 155.7 MB / 0.698 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 (84): * Single equations (assignments): 83 * 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.0004101/0.8188, allocations: 261.1 kB / 1.066 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8189, allocations: 75.5 kB / 1.066 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.8215, allocations: 1.023 MB / 1.067 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.8215, allocations: 4.75 kB / 1.067 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8215, allocations: 64 / 1.067 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.8219, allocations: 263.1 kB / 1.068 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.822, allocations: 25.66 kB / 1.068 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.8226, allocations: 67.45 kB / 1.068 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.8227, allocations: 60.61 kB / 1.068 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002098/0.8248, allocations: 0.8996 MB / 1.069 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002467/0.8273, allocations: 1.32 MB / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000712/0.828, allocations: 332.5 kB / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006394/0.8287, allocations: 431.8 kB / 1.071 GB, free: 154.7 MB / 0.698 GB Notification: Performance of Backend: time 5.91e-07/0.8287, allocations: 0 / 1.071 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.8319, allocations: 1.155 MB / 1.072 GB, free: 154.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.003246/0.8351, allocations: 2.398 MB / 1.074 GB, free: 152.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02473/0.8598, allocations: 14.28 MB / 1.088 GB, free: 145.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)