Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005294/0.005294, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.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.000504/0.0005036, allocations: 16 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4796, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006297/0.486, allocations: 5.559 MB / 0.7341 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1543/0.6403, allocations: 147.2 MB / 0.8779 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.6415, allocations: 23.88 kB / 0.8779 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.6423, allocations: 178.4 kB / 0.8781 GB, free: 1.766 MB / 0.6856 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.002031/0.6444, allocations: 496.5 kB / 0.8786 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.647, allocations: 1.095 MB / 0.8796 GB, free: 196 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.6496, allocations: 2.192 MB / 0.8818 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.6517, allocations: 1.426 MB / 0.8832 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.6529, allocations: 0.6763 MB / 0.8838 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.6542, allocations: 0.808 MB / 0.8846 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.6546, allocations: 56 kB / 0.8847 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.6558, allocations: 351.7 kB / 0.885 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.6564, allocations: 354.2 kB / 0.8854 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.6576, allocations: 0.8516 MB / 0.8862 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.6603, allocations: 2.842 MB / 0.889 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6604, allocations: 4 kB / 0.889 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6604, allocations: 4 kB / 0.889 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.6604, allocations: 0 / 0.889 GB, free: 6.543 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004263/0.6647, allocations: 2.043 MB / 0.891 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6647, allocations: 8.031 kB / 0.891 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.68, allocations: 2.198 MB / 0.8931 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.6824, allocations: 1.184 MB / 0.8943 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6826, allocations: 156.2 kB / 0.8944 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.683, allocations: 196 kB / 0.8946 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/0.691, allocations: 3.105 MB / 0.8976 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.6911, allocations: 0 / 0.8976 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.6914, allocations: 88 kB / 0.8977 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.6914, allocations: 63.88 kB / 0.8978 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.7038, allocations: 4.086 MB / 0.9018 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.7189, allocations: 6.601 MB / 0.9082 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4965/1.215, allocations: 2.739 MB / 0.9109 GB, free: 25.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005043/1.221, allocations: 1.385 MB / 0.9123 GB, free: 25.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/1.221, allocations: 0.5002 MB / 0.9127 GB, free: 25.19 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00562/1.227, allocations: 1.645 MB / 0.9143 GB, free: 25.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=192): time 4.589e-06/1.227, allocations: 0 / 0.9143 GB, free: 25.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192): time 0.01557/1.243, allocations: 4.063 MB / 0.9183 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/1.243, allocations: 205.9 kB / 0.9185 GB, free: 24.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.244, allocations: 0.8366 MB / 0.9193 GB, free: 24.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.245, allocations: 63.98 kB / 0.9194 GB, free: 24.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/1.245, allocations: 0.685 MB / 0.9201 GB, free: 24.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/1.246, allocations: 0.6269 MB / 0.9207 GB, free: 23.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/1.246, allocations: 130.9 kB / 0.9208 GB, free: 23.78 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.246, allocations: 302.4 kB / 0.9211 GB, free: 23.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/1.25, allocations: 1.145 MB / 0.9222 GB, free: 23.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.255, allocations: 1.315 MB / 0.9235 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008277/1.263, allocations: 2.413 MB / 0.9258 GB, free: 23.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/1.263, allocations: 3 kB / 0.9258 GB, free: 23.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009783/1.273, allocations: 2.861 MB / 0.9286 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.273, allocations: 3.156 kB / 0.9286 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.273, allocations: 5.672 kB / 0.9286 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/1.274, allocations: 87.81 kB / 0.9287 GB, free: 23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.277, allocations: 0.5547 MB / 0.9293 GB, free: 22.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.279, allocations: 1.527 MB / 0.9308 GB, free: 21.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/1.282, allocations: 321.3 kB / 0.9311 GB, free: 21.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/1.283, allocations: 94.45 kB / 0.9312 GB, free: 21.61 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001262/1.284, allocations: 405.8 kB / 0.9315 GB, free: 21.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/1.285, allocations: 137.2 kB / 0.9317 GB, free: 21.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.296, allocations: 3.377 MB / 0.935 GB, free: 21.15 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.296, allocations: 20.41 kB / 0.935 GB, free: 21.15 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.296, allocations: 0 / 0.935 GB, free: 21.15 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/1.296, allocations: 12.8 kB / 0.935 GB, free: 21.15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.31, allocations: 5.583 MB / 0.9405 GB, free: 20.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.31, allocations: 2.719 kB / 0.9405 GB, free: 20.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/1.313, allocations: 0.5215 MB / 0.941 GB, free: 20.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00056/1.314, allocations: 91.59 kB / 0.9411 GB, free: 20.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/1.314, allocations: 64.94 kB / 0.9411 GB, free: 20.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.316, allocations: 1.561 MB / 0.9426 GB, free: 19.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.316, allocations: 2.906 kB / 0.9426 GB, free: 19.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009544/1.325, allocations: 2.959 MB / 0.9455 GB, free: 18.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.326, allocations: 0.5199 MB / 0.946 GB, free: 18.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/1.327, allocations: 33.97 kB / 0.9461 GB, free: 18.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.33, allocations: 251.8 kB / 0.9463 GB, free: 18.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/1.33, allocations: 124.4 kB / 0.9464 GB, free: 18.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.33, allocations: 78.91 kB / 0.9465 GB, free: 18.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001063/1.331, allocations: 0.6175 MB / 0.9471 GB, free: 18.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.01e-07/1.331, allocations: 0 / 0.9471 GB, free: 18.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001889/1.333, allocations: 0.5733 MB / 0.9477 GB, free: 18.54 MB / 0.7169 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 (206): * Single equations (assignments): 203 * 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.001614/1.335, allocations: 0.6144 MB / 0.9483 GB, free: 18.35 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009093/1.344, allocations: 2.894 MB / 0.9511 GB, free: 18.15 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.344, allocations: 0 / 0.9511 GB, free: 18.15 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004691/1.349, allocations: 1.613 MB / 0.9527 GB, free: 18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.351, allocations: 320.7 kB / 0.953 GB, free: 17.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.361, allocations: 4.84 MB / 0.9577 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.363, allocations: 1.358 MB / 0.959 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003927/1.367, allocations: 0.5395 MB / 0.9596 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.368, allocations: 212.7 kB / 0.9598 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of SimCode: time 1.462e-06/1.368, allocations: 0 / 0.9598 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of Templates: time 0.04232/1.41, allocations: 25.72 MB / 0.9849 GB, free: 400 kB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: