Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009484/0.0009488, allocations: 180.8 kB / 326.5 MB, free: 2.699 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.598/1.598, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007941/0.0007937, allocations: 90.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.000297, allocations: 10.25 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004686/0.1755, allocations: 4.668 MB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.3132, allocations: 148.2 MB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.3142, allocations: 23.88 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.315, allocations: 146.8 kB / 1.046 GB, free: 10.53 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.001923/0.317, allocations: 446.7 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.3191, allocations: 0.7913 MB / 1.047 GB, free: 9.309 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3208, allocations: 1.447 MB / 1.049 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.322, allocations: 1.049 MB / 1.05 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.3227, allocations: 437.5 kB / 1.05 GB, free: 6.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.3232, allocations: 488.8 kB / 1.051 GB, free: 5.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.3233, allocations: 32 kB / 1.051 GB, free: 5.824 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.324, allocations: 299.7 kB / 1.051 GB, free: 5.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.3242, allocations: 230.7 kB / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.3247, allocations: 0.578 MB / 1.052 GB, free: 4.723 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3265, allocations: 2.009 MB / 1.054 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3265, allocations: 0 / 1.054 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3265, allocations: 0 / 1.054 GB, free: 2.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.3265, allocations: 0 / 1.054 GB, free: 2.707 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002457/0.329, allocations: 1.475 MB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.329, allocations: 8.031 kB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009392/0.33, allocations: 250.8 kB / 1.055 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3347/0.6647, allocations: 0.8919 MB / 1.056 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.665, allocations: 138.4 kB / 1.056 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.6654, allocations: 134 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.6688, allocations: 1.434 MB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.6689, allocations: 2.688 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.669, allocations: 58.81 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.6691, allocations: 36.94 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.6723, allocations: 1.472 MB / 1.06 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007806/0.6801, allocations: 3.784 MB / 1.063 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.6824, allocations: 0.9122 MB / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008761/0.6833, allocations: 375.6 kB / 1.064 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6834, allocations: 40.8 kB / 1.065 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.6848, allocations: 0.5471 MB / 1.065 GB, free: 158.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 4.779e-06/0.6849, allocations: 0 / 1.065 GB, free: 158.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.004991/0.6899, allocations: 1.392 MB / 1.066 GB, free: 158.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.69, allocations: 194.2 kB / 1.067 GB, free: 158 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.6916, allocations: 0.7463 MB / 1.067 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.6918, allocations: 48.39 kB / 1.067 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.6924, allocations: 0.5736 MB / 1.068 GB, free: 157.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.6927, allocations: 307.2 kB / 1.068 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.6929, allocations: 81.69 kB / 1.068 GB, free: 157.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.693, allocations: 337.6 kB / 1.069 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/0.694, allocations: 330.4 kB / 1.069 GB, free: 156.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.6951, allocations: 443.7 kB / 1.069 GB, free: 156.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.6971, allocations: 0.776 MB / 1.07 GB, free: 156.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6971, allocations: 4.688 kB / 1.07 GB, free: 156.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003279/0.7004, allocations: 1.037 MB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7004, allocations: 5 kB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7004, allocations: 2.578 kB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.7012, allocations: 84.23 kB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.7024, allocations: 198.6 kB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.7046, allocations: 1.545 MB / 1.073 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.7057, allocations: 108.1 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7059, allocations: 45.58 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.000766/0.7066, allocations: 321.4 kB / 1.073 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.7069, allocations: 96.8 kB / 1.073 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.7112, allocations: 1.299 MB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.7113, allocations: 5.156 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7113, allocations: 0 / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/0.7121, allocations: 316.3 kB / 1.075 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.7124, allocations: 27.88 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.7133, allocations: 79.61 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.7136, allocations: 72.7 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003247/0.7169, allocations: 1.087 MB / 1.076 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003639/0.7205, allocations: 1.613 MB / 1.078 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008336/0.7214, allocations: 421.1 kB / 1.078 GB, free: 151.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001057/0.7225, allocations: 0.5433 MB / 1.079 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Backend: time 7.51e-07/0.7225, allocations: 0 / 1.079 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004739/0.7272, allocations: 1.265 MB / 1.08 GB, free: 150.8 MB / 0.698 GB Notification: Performance of SimCode: time 0.005345/0.7326, allocations: 3.2 MB / 1.083 GB, free: 148.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03646/0.7691, allocations: 17.28 MB / 1.1 GB, free: 133.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)