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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, 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.001153/0.001153, allocations: 190.2 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.351/1.351, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.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.001279/0.001279, allocations: 69.53 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2692, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007653/0.277, allocations: 4.189 MB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7759/1.053, allocations: 148.1 MB / 0.9316 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/1.054, allocations: 17.44 kB / 0.9316 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/1.055, allocations: 133.8 kB / 0.9318 GB, free: 5.273 MB / 0.7325 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.001909/1.057, allocations: 390.3 kB / 0.9321 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/1.059, allocations: 0.687 MB / 0.9328 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001667/1.061, allocations: 1.19 MB / 0.934 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000923/1.062, allocations: 0.5992 MB / 0.9345 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/1.063, allocations: 449.8 kB / 0.935 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/1.063, allocations: 454.2 kB / 0.9354 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/1.063, allocations: 102.3 kB / 0.9355 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008347/1.064, allocations: 378.2 kB / 0.9359 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/1.064, allocations: 267.4 kB / 0.9361 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/1.065, allocations: 0.4939 MB / 0.9366 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/1.067, allocations: 1.397 MB / 0.938 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.067, allocations: 0 / 0.938 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.236e-06/1.067, allocations: 4.453 kB / 0.938 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.74e-05/1.067, allocations: 4 kB / 0.938 GB, free: 5.027 MB / 0.7325 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.002677/1.07, allocations: 1.307 MB / 0.9393 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.07, allocations: 8.344 kB / 0.9393 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/1.071, allocations: 178.6 kB / 0.9394 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/1.072, allocations: 0.7132 MB / 0.9401 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/1.072, allocations: 62.72 kB / 0.9402 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/1.072, allocations: 73.66 kB / 0.9403 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.073, allocations: 0.8753 MB / 0.9411 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.073, allocations: 0 / 0.9411 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.926e-05/1.074, allocations: 35.56 kB / 0.9411 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.074, allocations: 19.09 kB / 0.9412 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.075, allocations: 1.081 MB / 0.9422 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/1.079, allocations: 2.398 MB / 0.9446 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.08, allocations: 0.7305 MB / 0.9453 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/1.081, allocations: 288.9 kB / 0.9455 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.592e-05/1.081, allocations: 35.09 kB / 0.9456 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/1.082, allocations: 443.3 kB / 0.946 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.084e-06/1.082, allocations: 0 / 0.946 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.003316/1.085, allocations: 1.115 MB / 0.9471 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/1.085, allocations: 192.5 kB / 0.9473 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.087, allocations: 0.5809 MB / 0.9478 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/1.087, allocations: 41.95 kB / 0.9479 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.087, allocations: 375.5 kB / 0.9482 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/1.088, allocations: 255.4 kB / 0.9485 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.088, allocations: 161.5 kB / 0.9486 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.088, allocations: 377.5 kB / 0.949 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/1.089, allocations: 254.9 kB / 0.9492 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/1.089, allocations: 340.7 kB / 0.9496 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.091, allocations: 0.5864 MB / 0.9501 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.091, allocations: 0.5625 kB / 0.9501 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002371/1.093, allocations: 0.8192 MB / 0.9509 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.093, allocations: 6.703 kB / 0.9509 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.093, allocations: 1.031 kB / 0.9509 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/1.094, allocations: 81.73 kB / 0.951 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/1.094, allocations: 159.8 kB / 0.9512 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/1.097, allocations: 1.63 MB / 0.9528 GB, free: 16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/1.097, allocations: 77.02 kB / 0.9528 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/1.097, allocations: 37.52 kB / 0.9529 GB, free: 15.97 MB / 0.7481 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.0004844/1.098, allocations: 257.5 kB / 0.9531 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.098, allocations: 79.56 kB / 0.9532 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/1.101, allocations: 1.025 MB / 0.9542 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.101, allocations: 9.594 kB / 0.9542 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.101, allocations: 2.344 kB / 0.9542 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.101, allocations: 5.547 kB / 0.9542 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/1.104, allocations: 1.872 MB / 0.956 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.104, allocations: 1.219 kB / 0.956 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/1.105, allocations: 146.7 kB / 0.9562 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/1.105, allocations: 80.16 kB / 0.9563 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/1.105, allocations: 28.34 kB / 0.9563 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.107, allocations: 1.659 MB / 0.9579 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.107, allocations: 0 / 0.9579 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.109, allocations: 0.9294 MB / 0.9588 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/1.109, allocations: 259.7 kB / 0.9591 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.109, allocations: 22.97 kB / 0.9591 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/1.11, allocations: 54.75 kB / 0.9591 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/1.11, allocations: 63.36 kB / 0.9592 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/1.11, allocations: 26.61 kB / 0.9592 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005821/1.111, allocations: 437.2 kB / 0.9596 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 1.781 kB / 0.9596 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009413/1.112, allocations: 273.7 kB / 0.9599 GB, free: 13.4 MB / 0.7481 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.001267/1.113, allocations: 0.5596 MB / 0.9605 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.115, allocations: 0.9738 MB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.115, allocations: 5.062 kB / 0.9614 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/1.116, allocations: 0.4903 MB / 0.9619 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.118, allocations: 289.9 kB / 0.9622 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/1.121, allocations: 2.067 MB / 0.9642 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/1.122, allocations: 1.007 MB / 0.9652 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009211/1.123, allocations: 255.7 kB / 0.9654 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.123, allocations: 104.2 kB / 0.9655 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/1.123, allocations: 1.094 kB / 0.9655 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.02198/1.145, allocations: 13.69 MB / 0.9789 GB, free: 8.445 MB / 0.7481 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)