Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.67/1.67, allocations: 287.4 MB / 303.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008554/0.0008553, allocations: 93.78 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006152/0.0006154, allocations: 15.06 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2355, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003644/0.2392, allocations: 3.528 MB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6036/0.8428, allocations: 136.4 MB / 1.116 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.8434, allocations: 14.06 kB / 1.116 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.8439, allocations: 122 kB / 1.116 GB, free: 1.742 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.001246/0.8452, allocations: 347.1 kB / 1.116 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.8471, allocations: 0.5889 MB / 1.117 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.8484, allocations: 1.011 MB / 1.118 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008286/0.8492, allocations: 0.5516 MB / 1.119 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.8497, allocations: 282.6 kB / 1.119 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.8501, allocations: 309.5 kB / 1.119 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.8502, allocations: 21.06 kB / 1.119 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.851, allocations: 269.4 kB / 1.119 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.8512, allocations: 158.5 kB / 1.12 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.8514, allocations: 172.6 kB / 1.12 GB, free: 17.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.8527, allocations: 1.011 MB / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8528, allocations: 0 / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8528, allocations: 0 / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.8528, allocations: 0 / 1.121 GB, free: 16.96 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00188/0.8547, allocations: 1.089 MB / 1.122 GB, free: 16.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8547, allocations: 14.14 kB / 1.122 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.8555, allocations: 180.2 kB / 1.122 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.8565, allocations: 0.6926 MB / 1.123 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.8566, allocations: 59.17 kB / 1.123 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.8567, allocations: 72.77 kB / 1.123 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.858, allocations: 0.8395 MB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.8581, allocations: 3.984 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.8581, allocations: 35.09 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.8582, allocations: 17.03 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.8596, allocations: 1.05 MB / 1.125 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.8629, allocations: 2.356 MB / 1.127 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.864, allocations: 0.7101 MB / 1.128 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.8645, allocations: 273.2 kB / 1.128 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.111e-05/0.8646, allocations: 30.73 kB / 1.128 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007344/0.8653, allocations: 422.1 kB / 1.128 GB, free: 14.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 2.916e-06/0.8653, allocations: 4 kB / 1.128 GB, free: 14.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.002559/0.8679, allocations: 1.067 MB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.868, allocations: 187.9 kB / 1.13 GB, free: 14.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.8686, allocations: 0.5632 MB / 1.13 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.8687, allocations: 36.61 kB / 1.13 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.869, allocations: 365.2 kB / 1.13 GB, free: 14.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.8692, allocations: 245.8 kB / 1.131 GB, free: 13.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.8692, allocations: 14 kB / 1.131 GB, free: 13.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8693, allocations: 378.9 kB / 1.131 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.8698, allocations: 232.5 kB / 1.131 GB, free: 13.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.8702, allocations: 326.9 kB / 1.132 GB, free: 13.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.8711, allocations: 0.5533 MB / 1.132 GB, free: 13.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8711, allocations: 0 / 1.132 GB, free: 13.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/0.8726, allocations: 0.7583 MB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8727, allocations: 11.44 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8727, allocations: 0.9688 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.8733, allocations: 88.19 kB / 1.133 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.8739, allocations: 144.9 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.8757, allocations: 1.516 MB / 1.135 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.8764, allocations: 85.88 kB / 1.135 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.8765, allocations: 40.3 kB / 1.135 GB, free: 11.97 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.8769, allocations: 257.4 kB / 1.135 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.8771, allocations: 74.84 kB / 1.135 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.8791, allocations: 0.965 MB / 1.136 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.8791, allocations: 8.875 kB / 1.136 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8791, allocations: 3.375 kB / 1.136 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.8795, allocations: 259.8 kB / 1.136 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.8796, allocations: 18.25 kB / 1.136 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.8801, allocations: 64.66 kB / 1.136 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.8802, allocations: 58.52 kB / 1.136 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001675/0.8819, allocations: 0.8607 MB / 1.137 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001793/0.8837, allocations: 1.259 MB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004838/0.8842, allocations: 317.6 kB / 1.139 GB, free: 11.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000545/0.8848, allocations: 409 kB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of Backend: time 4.21e-07/0.8848, allocations: 0 / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.8879, allocations: 1.121 MB / 1.14 GB, free: 10.59 MB / 0.698 GB Notification: Performance of SimCode: time 0.003209/0.8911, allocations: 2.209 MB / 1.142 GB, free: 9.062 MB / 0.698 GB Notification: Performance of Templates: time 0.02561/0.9167, allocations: 13.33 MB / 1.155 GB, free: 2.383 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)