Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008517, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008044/0.0008045, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.613/1.613, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006064/0.0006065, allocations: 22.33 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.235, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004983/0.24, allocations: 3.865 MB / 0.791 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5843/0.8243, allocations: 136.6 MB / 0.9244 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.8249, allocations: 18.59 kB / 0.9244 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.8253, allocations: 138.9 kB / 0.9245 GB, free: 5.887 MB / 0.7169 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001005/0.8263, allocations: 370.6 kB / 0.9249 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.828, allocations: 0.6073 MB / 0.9255 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.829, allocations: 1.118 MB / 0.9266 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.8298, allocations: 0.6654 MB / 0.9272 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.8302, allocations: 340.9 kB / 0.9276 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.8306, allocations: 371.1 kB / 0.9279 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.149e-05/0.8307, allocations: 23.03 kB / 0.9279 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.8313, allocations: 262.5 kB / 0.9282 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.8315, allocations: 188.4 kB / 0.9284 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.8319, allocations: 215.4 kB / 0.9286 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.8333, allocations: 1.265 MB / 0.9298 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8333, allocations: 0 / 0.9298 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8333, allocations: 7.234 kB / 0.9298 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.8333, allocations: 3.938 kB / 0.9298 GB, free: 21.04 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001926/0.8353, allocations: 1.313 MB / 0.9311 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.8353, allocations: 11.66 kB / 0.9311 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007893/0.8361, allocations: 216.9 kB / 0.9313 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.8371, allocations: 0.7753 MB / 0.9321 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.8371, allocations: 82.25 kB / 0.9322 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.8372, allocations: 106 kB / 0.9323 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.8389, allocations: 1.109 MB / 0.9333 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.8389, allocations: 1.062 kB / 0.9333 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.839, allocations: 50.47 kB / 0.9334 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.8391, allocations: 30.3 kB / 0.9334 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.8409, allocations: 1.22 MB / 0.9346 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.8452, allocations: 2.998 MB / 0.9375 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.8465, allocations: 0.7806 MB / 0.9383 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.847, allocations: 294.6 kB / 0.9386 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.8471, allocations: 30.92 kB / 0.9386 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007525/0.8479, allocations: 453.4 kB / 0.939 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.8479, allocations: 1.156 kB / 0.939 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.003085/0.851, allocations: 1.136 MB / 0.9402 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.8511, allocations: 194 kB / 0.9403 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.8521, allocations: 0.6614 MB / 0.941 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/0.8522, allocations: 43.64 kB / 0.941 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.8525, allocations: 0.4884 MB / 0.9415 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.8527, allocations: 259.6 kB / 0.9417 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.8528, allocations: 13.62 kB / 0.9418 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8529, allocations: 392.9 kB / 0.9421 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.8534, allocations: 260.4 kB / 0.9424 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.8539, allocations: 355.9 kB / 0.9427 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.8544, allocations: 307.3 kB / 0.943 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8544, allocations: 0.875 kB / 0.943 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001621/0.856, allocations: 0.8398 MB / 0.9438 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8561, allocations: 6.438 kB / 0.9438 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8561, allocations: 0.9062 kB / 0.9438 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.8566, allocations: 83.09 kB / 0.9439 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.8573, allocations: 157.6 kB / 0.9441 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8592, allocations: 1.524 MB / 0.9456 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.8599, allocations: 96.23 kB / 0.9457 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.86, allocations: 38.02 kB / 0.9457 GB, free: 15.71 MB / 0.7325 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 (92): * Single equations (assignments): 91 * 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.0005772/0.8605, allocations: 277 kB / 0.946 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.8607, allocations: 84.25 kB / 0.946 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.8627, allocations: 1.039 MB / 0.9471 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8628, allocations: 8.875 kB / 0.9471 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8628, allocations: 4 kB / 0.9471 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8628, allocations: 9.516 kB / 0.9471 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.864, allocations: 0.9705 MB / 0.948 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.864, allocations: 2.734 kB / 0.948 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.8646, allocations: 156 kB / 0.9482 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.8651, allocations: 81.11 kB / 0.9482 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.8651, allocations: 25.44 kB / 0.9483 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.8668, allocations: 1.551 MB / 0.9498 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.8668, allocations: 0 / 0.9498 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.8685, allocations: 0.8821 MB / 0.9506 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.8688, allocations: 283.9 kB / 0.9509 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.8689, allocations: 17.12 kB / 0.9509 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.8694, allocations: 70.52 kB / 0.951 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.8696, allocations: 57.98 kB / 0.9511 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.8697, allocations: 32.62 kB / 0.9511 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000692/0.8704, allocations: 476.3 kB / 0.9515 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8704, allocations: 0 / 0.9515 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001105/0.8715, allocations: 318.6 kB / 0.9518 GB, free: 13.37 MB / 0.7325 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.8728, allocations: 0.5597 MB / 0.9524 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8744, allocations: 0.804 MB / 0.9532 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8745, allocations: 1 kB / 0.9532 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/0.8753, allocations: 0.4951 MB / 0.9537 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.8763, allocations: 266.7 kB / 0.9539 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.8803, allocations: 2.443 MB / 0.9563 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.881, allocations: 1.079 MB / 0.9574 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008364/0.8818, allocations: 262.6 kB / 0.9576 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.8821, allocations: 104.4 kB / 0.9577 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8821, allocations: 0.8125 kB / 0.9577 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.01979/0.9019, allocations: 13.07 MB / 0.9705 GB, free: 5.648 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: