Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009653/0.0009654, allocations: 177.3 kB / 326.5 MB, free: 2.695 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.468/1.468, allocations: 205 MB / 0.5767 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.0006675/0.0006675, allocations: 83.94 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 12.03 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00408/0.1692, allocations: 3.863 MB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.3058, allocations: 148.1 MB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007728/0.3066, allocations: 15.88 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.3072, allocations: 131 kB / 1.045 GB, free: 11.52 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.001403/0.3087, allocations: 384.1 kB / 1.046 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3104, allocations: 0.6643 MB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3116, allocations: 1.117 MB / 1.047 GB, free: 9.367 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.3124, allocations: 0.5746 MB / 1.048 GB, free: 8.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.3128, allocations: 310.5 kB / 1.048 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.3132, allocations: 342 kB / 1.049 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.3133, allocations: 24 kB / 1.049 GB, free: 8.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.3139, allocations: 295.7 kB / 1.049 GB, free: 7.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3141, allocations: 171.2 kB / 1.049 GB, free: 7.648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.3144, allocations: 401.3 kB / 1.049 GB, free: 7.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.3155, allocations: 1.296 MB / 1.051 GB, free: 5.953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3155, allocations: 0 / 1.051 GB, free: 5.953 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3155, allocations: 0 / 1.051 GB, free: 5.953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3155, allocations: 0 / 1.051 GB, free: 5.953 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001784/0.3173, allocations: 1.105 MB / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3174, allocations: 12.03 kB / 1.052 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.3182, allocations: 183.5 kB / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.3191, allocations: 0.7149 MB / 1.053 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3192, allocations: 58 kB / 1.053 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.3193, allocations: 80 kB / 1.053 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3207, allocations: 0.8754 MB / 1.054 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3207, allocations: 0 / 1.054 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.3208, allocations: 40 kB / 1.054 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.3208, allocations: 16 kB / 1.054 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.3224, allocations: 1.1 MB / 1.055 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3369/0.6594, allocations: 2.415 MB / 1.057 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.6607, allocations: 0.7437 MB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.6611, allocations: 288.8 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.6612, allocations: 32.84 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006724/0.6618, allocations: 448.3 kB / 1.059 GB, free: 159.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.397e-06/0.6619, allocations: 0 / 1.059 GB, free: 159.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002829/0.6647, allocations: 1.128 MB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.6648, allocations: 193 kB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.6655, allocations: 0.5858 MB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.6656, allocations: 43.11 kB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.6659, allocations: 375.3 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.6661, allocations: 246.6 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.6662, allocations: 66.36 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6663, allocations: 378.4 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.6668, allocations: 255 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.6673, allocations: 347.2 kB / 1.062 GB, free: 157.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.6683, allocations: 0.5935 MB / 1.063 GB, free: 157.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6683, allocations: 2.906 kB / 1.063 GB, free: 157.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00178/0.6701, allocations: 0.823 MB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6701, allocations: 9.734 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6701, allocations: 1.156 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.6707, allocations: 83.77 kB / 1.064 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.6714, allocations: 160.5 kB / 1.064 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.6732, allocations: 1.518 MB / 1.065 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.6738, allocations: 86.19 kB / 1.065 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.6739, allocations: 37.47 kB / 1.065 GB, free: 156.4 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 (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 (89): * Single equations (assignments): 88 * 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.0003724/0.6743, allocations: 265.5 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.6744, allocations: 75.88 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.6769, allocations: 1.037 MB / 1.067 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6769, allocations: 4.219 kB / 1.067 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6769, allocations: 0.5625 kB / 1.067 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.6772, allocations: 256.5 kB / 1.067 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6773, allocations: 24.12 kB / 1.067 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.6779, allocations: 77.92 kB / 1.067 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.678, allocations: 57.81 kB / 1.067 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001863/0.6799, allocations: 0.9041 MB / 1.068 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002103/0.682, allocations: 1.325 MB / 1.069 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006106/0.6826, allocations: 337.2 kB / 1.07 GB, free: 155.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005446/0.6832, allocations: 431.4 kB / 1.07 GB, free: 155.4 MB / 0.698 GB Notification: Performance of Backend: time 6.62e-07/0.6832, allocations: 0 / 1.07 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002765/0.686, allocations: 1.151 MB / 1.071 GB, free: 155.1 MB / 0.698 GB Notification: Performance of SimCode: time 0.002712/0.6887, allocations: 2.326 MB / 1.073 GB, free: 153.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02317/0.7119, allocations: 14.18 MB / 1.087 GB, free: 146.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)