Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001557/0.001557, allocations: 187.4 kB / 16.25 MB, free: 6.625 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.442/1.442, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.692/1.692, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001353/0.001353, allocations: 65.12 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2282, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008319/0.2366, allocations: 6.045 MB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6239/0.8605, allocations: 148.9 MB / 0.9341 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.862, allocations: 27.06 kB / 0.9342 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007881/0.8628, allocations: 181.8 kB / 0.9343 GB, free: 5 MB / 0.7325 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.002157/0.865, allocations: 0.4972 MB / 0.9348 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.8678, allocations: 1.12 MB / 0.9359 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.8704, allocations: 2.36 MB / 0.9382 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.872, allocations: 1.502 MB / 0.9397 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.8735, allocations: 1.025 MB / 0.9407 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.8749, allocations: 1.155 MB / 0.9418 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.8753, allocations: 291.5 kB / 0.9421 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.8764, allocations: 0.5645 MB / 0.9426 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005286/0.877, allocations: 0.6232 MB / 0.9432 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.8781, allocations: 1.143 MB / 0.9444 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.8815, allocations: 3.098 MB / 0.9474 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8815, allocations: 0 / 0.9474 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8815, allocations: 0 / 0.9474 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.126e-05/0.8816, allocations: 0 / 0.9474 GB, free: 4.105 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.006193/0.8878, allocations: 2.529 MB / 0.9499 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.8879, allocations: 9.406 kB / 0.9499 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.9032, allocations: 2.005 MB / 0.9518 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.9067, allocations: 1.187 MB / 0.953 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.9069, allocations: 153.5 kB / 0.9531 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007066/0.9076, allocations: 199.4 kB / 0.9533 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008775/0.9164, allocations: 3.035 MB / 0.9563 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.9165, allocations: 3.094 kB / 0.9563 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.9168, allocations: 87.84 kB / 0.9564 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.9168, allocations: 51.03 kB / 0.9564 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.9295, allocations: 3.946 MB / 0.9603 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.947, allocations: 6.559 MB / 0.9667 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008716/0.9558, allocations: 2.737 MB / 0.9693 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003897/0.9597, allocations: 1.373 MB / 0.9707 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.9605, allocations: 0.5005 MB / 0.9712 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004339/0.9649, allocations: 1.627 MB / 0.9728 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=192): time 3.907e-06/0.9649, allocations: 3.984 kB / 0.9728 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=192): time 0.0129/0.9778, allocations: 4.021 MB / 0.9767 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.9779, allocations: 200.6 kB / 0.9769 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9791, allocations: 0.8396 MB / 0.9777 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.9794, allocations: 57.41 kB / 0.9778 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.98, allocations: 0.6927 MB / 0.9784 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.9806, allocations: 0.6238 MB / 0.979 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/0.9813, allocations: 358.9 kB / 0.9794 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.9814, allocations: 301.1 kB / 0.9797 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/0.985, allocations: 1.136 MB / 0.9808 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.9888, allocations: 1.301 MB / 0.9821 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007384/0.9962, allocations: 2.383 MB / 0.9844 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.9963, allocations: 0 / 0.9844 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009262/1.006, allocations: 2.828 MB / 0.9871 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/1.006, allocations: 8.438 kB / 0.9872 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.006, allocations: 4.906 kB / 0.9872 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/1.006, allocations: 88.23 kB / 0.9872 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/1.01, allocations: 0.5448 MB / 0.9878 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.012, allocations: 1.643 MB / 0.9894 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.015, allocations: 307.7 kB / 0.9897 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/1.016, allocations: 92.89 kB / 0.9898 GB, free: 5.898 MB / 0.7481 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.001279/1.017, allocations: 401.3 kB / 0.9901 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/1.017, allocations: 146.3 kB / 0.9903 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.028, allocations: 3.35 MB / 0.9936 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.028, allocations: 20.38 kB / 0.9936 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.028, allocations: 0 / 0.9936 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.028, allocations: 11.22 kB / 0.9936 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/1.041, allocations: 5.56 MB / 0.999 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.041, allocations: 0 / 0.999 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.045, allocations: 0.5214 MB / 0.9995 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/1.045, allocations: 73.34 kB / 0.9996 GB, free: 0 / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.045, allocations: 63.69 kB / 0.9997 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/1.047, allocations: 1.669 MB / 1.001 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.047, allocations: 4.062 kB / 1.001 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009121/1.056, allocations: 2.928 MB / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/1.057, allocations: 0.491 MB / 1.005 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.058, allocations: 47.91 kB / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.06, allocations: 232.8 kB / 1.005 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/1.061, allocations: 120.3 kB / 1.005 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.061, allocations: 85.27 kB / 1.005 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000799/1.062, allocations: 0.6233 MB / 1.006 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.533e-06/1.062, allocations: 0 / 1.006 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001643/1.063, allocations: 0.5691 MB / 1.006 GB, free: 11.61 MB / 0.7637 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.001402/1.065, allocations: 0.6117 MB / 1.007 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.077, allocations: 3.318 MB / 1.01 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/1.078, allocations: 2.594 kB / 1.01 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/1.082, allocations: 1.592 MB / 1.012 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.084, allocations: 353.7 kB / 1.012 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.095, allocations: 4.771 MB / 1.017 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009447/1.096, allocations: 1.357 MB / 1.018 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003549/1.099, allocations: 0.5385 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009209/1.1, allocations: 207.2 kB / 1.019 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of SimCode: time 9.91e-07/1.1, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of Templates: time 0.04464/1.145, allocations: 26.93 MB / 1.045 GB, free: 6.836 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)