Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001689, allocations: 190.2 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000999/0.0009986, allocations: 100.3 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2589, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007115/0.2661, allocations: 4.188 MB / 0.9863 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6293/0.8954, allocations: 148 MB / 1.131 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00099/0.8964, allocations: 20.88 kB / 1.131 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.8972, allocations: 134.8 kB / 1.131 GB, free: 7.016 MB / 0.7448 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.001949/0.8993, allocations: 376.8 kB / 1.131 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.9015, allocations: 0.6675 MB / 1.132 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.9029, allocations: 1.125 MB / 1.133 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.9038, allocations: 0.5888 MB / 1.134 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.9045, allocations: 381.9 kB / 1.134 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.9049, allocations: 425.9 kB / 1.134 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.905, allocations: 50.94 kB / 1.135 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006975/0.9057, allocations: 320.8 kB / 1.135 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.9059, allocations: 228.9 kB / 1.135 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.9063, allocations: 451.1 kB / 1.135 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.9074, allocations: 1.351 MB / 1.137 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9074, allocations: 0 / 1.137 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9074, allocations: 0 / 1.137 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.9074, allocations: 6.812 kB / 1.137 GB, free: 4.156 MB / 0.7448 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.001997/0.9094, allocations: 1.304 MB / 1.138 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9095, allocations: 9.594 kB / 1.138 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.9103, allocations: 179.9 kB / 1.138 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.9112, allocations: 0.7088 MB / 1.139 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.9113, allocations: 58.03 kB / 1.139 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.9114, allocations: 80.28 kB / 1.139 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.9126, allocations: 0.8749 MB / 1.14 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.9127, allocations: 3.938 kB / 1.14 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.411e-05/0.9127, allocations: 38.31 kB / 1.14 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.9128, allocations: 19.78 kB / 1.14 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.9142, allocations: 1.082 MB / 1.141 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.9174, allocations: 2.377 MB / 1.143 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.9185, allocations: 0.7332 MB / 1.144 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.9189, allocations: 283.1 kB / 1.144 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.919, allocations: 35.48 kB / 1.144 GB, free: 268 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.9197, allocations: 443.9 kB / 1.145 GB, free: 68 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.9197, allocations: 6.781 kB / 1.145 GB, free: 64 kB / 0.7448 GB Notification: Performance of matching and sorting (n=76): time 0.002867/0.9226, allocations: 1.111 MB / 1.146 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9227, allocations: 194 kB / 1.146 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.9234, allocations: 0.5816 MB / 1.147 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.9235, allocations: 36.98 kB / 1.147 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.9238, allocations: 378.2 kB / 1.147 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.924, allocations: 254.4 kB / 1.147 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.9242, allocations: 161.6 kB / 1.147 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9244, allocations: 378.8 kB / 1.148 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.9249, allocations: 249.3 kB / 1.148 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.9254, allocations: 348.6 kB / 1.148 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.9264, allocations: 0.5788 MB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9264, allocations: 4.438 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001865/0.9283, allocations: 0.8159 MB / 1.15 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9283, allocations: 7.344 kB / 1.15 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.9283, allocations: 3.875 kB / 1.15 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.9289, allocations: 87.11 kB / 1.15 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.9296, allocations: 154.4 kB / 1.15 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.9316, allocations: 1.523 MB / 1.151 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.9323, allocations: 87.62 kB / 1.152 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.9324, allocations: 30.69 kB / 1.152 GB, free: 11.81 MB / 0.7605 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.00045/0.9329, allocations: 261.4 kB / 1.152 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.933, allocations: 74.38 kB / 1.152 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.9352, allocations: 1.031 MB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9352, allocations: 13.12 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9352, allocations: 4.406 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.9353, allocations: 3.375 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.9382, allocations: 1.872 MB / 1.155 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9382, allocations: 0 / 1.155 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.9388, allocations: 151.7 kB / 1.155 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.9393, allocations: 83.97 kB / 1.155 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.9393, allocations: 21.98 kB / 1.155 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.9411, allocations: 1.549 MB / 1.157 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9411, allocations: 0 / 1.157 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.9438, allocations: 1.933 MB / 1.158 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.9442, allocations: 257.6 kB / 1.159 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.9443, allocations: 18.45 kB / 1.159 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.9448, allocations: 63.83 kB / 1.159 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.945, allocations: 63.31 kB / 1.159 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.9451, allocations: 32.53 kB / 1.159 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004751/0.9455, allocations: 431.4 kB / 1.159 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9455, allocations: 0 / 1.159 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000871/0.9464, allocations: 285.8 kB / 1.16 GB, free: 7.031 MB / 0.7605 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 (87): * Single equations (assignments): 84 * 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.001262/0.9477, allocations: 0.5659 MB / 1.16 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.9492, allocations: 0.7799 MB / 1.161 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9493, allocations: 3.219 kB / 1.161 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.9501, allocations: 0.4886 MB / 1.161 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.9512, allocations: 253.3 kB / 1.162 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.9553, allocations: 2.519 MB / 1.164 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.9558, allocations: 1.031 MB / 1.165 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008212/0.9566, allocations: 252.1 kB / 1.165 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.9569, allocations: 94.77 kB / 1.165 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/0.9569, allocations: 0 / 1.165 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of Templates: time 0.02152/0.9784, allocations: 13.57 MB / 1.179 GB, free: 2.715 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)