Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, 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.001164/0.001164, allocations: 189.5 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.426/1.426, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.001287/0.001287, allocations: 71.84 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6068, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007188/0.6141, allocations: 4.986 MB / 0.7288 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.7841, allocations: 148.4 MB / 0.8738 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.7856, allocations: 19.88 kB / 0.8738 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.7867, allocations: 150.8 kB / 0.8739 GB, free: 2.941 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.002622/0.7894, allocations: 477.1 kB / 0.8744 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.7919, allocations: 0.7854 MB / 0.8752 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.7939, allocations: 1.565 MB / 0.8767 GB, free: 128 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.7952, allocations: 1.019 MB / 0.8777 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.7962, allocations: 0.681 MB / 0.8783 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.7969, allocations: 0.7195 MB / 0.8791 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.7972, allocations: 172 kB / 0.8792 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009742/0.7981, allocations: 447.7 kB / 0.8796 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.7985, allocations: 410.6 kB / 0.88 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.7992, allocations: 0.7694 MB / 0.8808 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8016, allocations: 2.041 MB / 0.8828 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8016, allocations: 4 kB / 0.8828 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8016, allocations: 3.938 kB / 0.8828 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.8016, allocations: 0 / 0.8828 GB, free: 9.82 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002916/0.8046, allocations: 1.759 MB / 0.8845 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8046, allocations: 8.031 kB / 0.8845 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.8056, allocations: 230.9 kB / 0.8847 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.8068, allocations: 0.8797 MB / 0.8856 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.8069, allocations: 106.8 kB / 0.8857 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.807, allocations: 132 kB / 0.8858 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.8092, allocations: 1.387 MB / 0.8872 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.8093, allocations: 3.938 kB / 0.8872 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.8094, allocations: 56 kB / 0.8872 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.8094, allocations: 36 kB / 0.8873 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.8116, allocations: 1.466 MB / 0.8887 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.8171, allocations: 3.579 MB / 0.8922 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8186, allocations: 0.9573 MB / 0.8931 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.8192, allocations: 395.7 kB / 0.8935 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.8193, allocations: 49.06 kB / 0.8935 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.8203, allocations: 0.5709 MB / 0.8941 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.8203, allocations: 0 / 0.8941 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.00358/0.8239, allocations: 1.477 MB / 0.8956 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.824, allocations: 196.9 kB / 0.8957 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009451/0.825, allocations: 0.7472 MB / 0.8965 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.8251, allocations: 41.7 kB / 0.8965 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.8255, allocations: 0.562 MB / 0.8971 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.8258, allocations: 346.9 kB / 0.8974 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.8262, allocations: 222.7 kB / 0.8976 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.8264, allocations: 394.7 kB / 0.898 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.827, allocations: 358.4 kB / 0.8983 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.8278, allocations: 478.1 kB / 0.8988 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.8293, allocations: 0.8312 MB / 0.8996 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8293, allocations: 0 / 0.8996 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002437/0.8317, allocations: 1.114 MB / 0.9007 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.8318, allocations: 4 kB / 0.9007 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8318, allocations: 0 / 0.9007 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.8324, allocations: 84.86 kB / 0.9008 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/0.8334, allocations: 231.6 kB / 0.901 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.8358, allocations: 1.638 MB / 0.9026 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.8368, allocations: 103.2 kB / 0.9027 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.8369, allocations: 51.95 kB / 0.9027 GB, free: 4.828 MB / 0.7169 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 (125): * Single equations (assignments): 124 * 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.000717/0.8377, allocations: 309.6 kB / 0.903 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8379, allocations: 102.8 kB / 0.9031 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.8409, allocations: 1.384 MB / 0.9045 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.841, allocations: 19.94 kB / 0.9045 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.841, allocations: 0 / 0.9045 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.841, allocations: 7.969 kB / 0.9045 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.8451, allocations: 2.551 MB / 0.907 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8451, allocations: 0 / 0.907 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.8459, allocations: 195.7 kB / 0.9072 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.8464, allocations: 76.78 kB / 0.9072 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.8465, allocations: 23.98 kB / 0.9073 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4266/1.273, allocations: 1.665 MB / 0.9089 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.273, allocations: 2.594 kB / 0.9089 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/1.276, allocations: 1.169 MB / 0.91 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/1.276, allocations: 319 kB / 0.9103 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.277, allocations: 28.92 kB / 0.9104 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/1.277, allocations: 59.28 kB / 0.9104 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/1.277, allocations: 75.5 kB / 0.9105 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/1.278, allocations: 44.34 kB / 0.9105 GB, free: 180 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008277/1.278, allocations: 0.5611 MB / 0.9111 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/1.278, allocations: 0 / 0.9111 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001139/1.28, allocations: 386.5 kB / 0.9115 GB, free: 179.7 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 (115): * Single equations (assignments): 112 * 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.001223/1.281, allocations: 0.5676 MB / 0.912 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003208/1.284, allocations: 1.289 MB / 0.9133 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.284, allocations: 1.219 kB / 0.9133 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.285, allocations: 0.6122 MB / 0.9139 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.287, allocations: 308.8 kB / 0.9142 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/1.292, allocations: 2.974 MB / 0.9171 GB, free: 177 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/1.293, allocations: 1.162 MB / 0.9182 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001343/1.295, allocations: 303.1 kB / 0.9185 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/1.295, allocations: 130.5 kB / 0.9186 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/1.295, allocations: 0 / 0.9186 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02531/1.32, allocations: 17.32 MB / 0.9355 GB, free: 164.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)