Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 184.9 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008914, allocations: 98.75 kB / 0.6813 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006909/0.0006911, allocations: 11.66 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006547/0.2305, allocations: 4.301 MB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2054/0.436, allocations: 136.9 MB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.4372, allocations: 15.94 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.438, allocations: 146.8 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.002593/0.4406, allocations: 454.8 kB / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.4438, allocations: 0.6578 MB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.4467, allocations: 1.393 MB / 1.039 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.4489, allocations: 0.9003 MB / 1.04 GB, free: 248 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.4502, allocations: 449.8 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.4515, allocations: 485.3 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.4518, allocations: 31.98 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4529, allocations: 275.8 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.4533, allocations: 222.9 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.4538, allocations: 260.9 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.4568, allocations: 1.512 MB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.4568, allocations: 4 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4568, allocations: 0 / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.091e-05/0.4569, allocations: 0 / 1.043 GB, free: 13.02 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004744/0.4617, allocations: 1.455 MB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4617, allocations: 8.031 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.4636, allocations: 250.8 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.4659, allocations: 0.8491 MB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4661, allocations: 102.8 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.4665, allocations: 128 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.4709, allocations: 1.38 MB / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.471, allocations: 0 / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.4712, allocations: 59.98 kB / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.4713, allocations: 36 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.4761, allocations: 1.47 MB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.487, allocations: 3.591 MB / 1.053 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.4903, allocations: 0.9535 MB / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4918, allocations: 395.7 kB / 1.054 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.492, allocations: 53 kB / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.4938, allocations: 0.5787 MB / 1.055 GB, free: 1.465 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.839e-06/0.4939, allocations: 4 kB / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.6038/1.098, allocations: 1.478 MB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/1.098, allocations: 194.8 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.099, allocations: 0.7319 MB / 1.057 GB, free: 155.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.1, allocations: 49.08 kB / 1.057 GB, free: 155.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/1.1, allocations: 0.5569 MB / 1.057 GB, free: 155.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/1.101, allocations: 347 kB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/1.101, allocations: 23.84 kB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.101, allocations: 401.6 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/1.102, allocations: 355.2 kB / 1.059 GB, free: 154.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/1.104, allocations: 472.4 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.105, allocations: 428.4 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.105, allocations: 0 / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004191/1.11, allocations: 1.111 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.11, allocations: 3.844 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.11, allocations: 3.188 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.111, allocations: 84.69 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.113, allocations: 229.8 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/1.116, allocations: 1.535 MB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.118, allocations: 112.1 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/1.118, allocations: 52.09 kB / 1.062 GB, free: 153.2 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008702/1.119, allocations: 308.3 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.119, allocations: 101.1 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/1.124, allocations: 1.414 MB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.124, allocations: 12.94 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.124, allocations: 2.938 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/1.124, allocations: 5.531 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007931/1.132, allocations: 2.554 MB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.132, allocations: 0 / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/1.134, allocations: 196.8 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/1.135, allocations: 94.64 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/1.136, allocations: 26.11 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/1.138, allocations: 1.556 MB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.138, allocations: 0.7031 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/1.143, allocations: 1.174 MB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.144, allocations: 346.3 kB / 1.07 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.144, allocations: 20.44 kB / 1.07 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.146, allocations: 73.3 kB / 1.07 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/1.146, allocations: 83.17 kB / 1.07 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.146, allocations: 39.36 kB / 1.07 GB, free: 150.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00139/1.148, allocations: 0.5507 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.384e-06/1.148, allocations: 0 / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001946/1.15, allocations: 386.8 kB / 1.071 GB, free: 150.6 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/1.152, allocations: 0.5604 MB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004035/1.156, allocations: 1.035 MB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.156, allocations: 1.062 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/1.158, allocations: 0.614 MB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.161, allocations: 275.2 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/1.17, allocations: 2.922 MB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.171, allocations: 1.16 MB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001931/1.173, allocations: 298.7 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/1.174, allocations: 129.3 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.174, allocations: 0 / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0503/1.224, allocations: 16.1 MB / 1.094 GB, free: 138 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)