Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008049/0.0008048, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007965/0.0007966, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.624/1.624, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0006028/0.0006029, allocations: 16.03 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.217, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005032/0.2221, allocations: 4.278 MB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5807/0.8029, allocations: 136.9 MB / 0.9251 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005037/0.8034, allocations: 19.5 kB / 0.9251 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.8038, allocations: 141.1 kB / 0.9253 GB, free: 5.07 MB / 0.7169 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.001027/0.8049, allocations: 447.6 kB / 0.9257 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.8063, allocations: 0.6605 MB / 0.9263 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.8074, allocations: 1.362 MB / 0.9277 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.8082, allocations: 0.7705 MB / 0.9284 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.8088, allocations: 454.4 kB / 0.9288 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.8093, allocations: 479.9 kB / 0.9293 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.8094, allocations: 29.44 kB / 0.9293 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.8099, allocations: 279.2 kB / 0.9296 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.8102, allocations: 226 kB / 0.9298 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.8105, allocations: 256.7 kB / 0.9301 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.8117, allocations: 1.515 MB / 0.9315 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8118, allocations: 4 kB / 0.9315 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8118, allocations: 0 / 0.9315 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.8118, allocations: 3.938 kB / 0.9315 GB, free: 19.94 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002047/0.8138, allocations: 1.456 MB / 0.933 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.8139, allocations: 10.5 kB / 0.933 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.8147, allocations: 249.6 kB / 0.9332 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.8156, allocations: 0.8487 MB / 0.934 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.8157, allocations: 105.7 kB / 0.9341 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.8158, allocations: 132.7 kB / 0.9343 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.8177, allocations: 1.379 MB / 0.9356 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8177, allocations: 3.938 kB / 0.9356 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.8178, allocations: 57.19 kB / 0.9357 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.8178, allocations: 33.88 kB / 0.9357 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.8201, allocations: 1.476 MB / 0.9371 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.8248, allocations: 3.586 MB / 0.9406 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.8266, allocations: 0.9616 MB / 0.9416 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.8272, allocations: 397.5 kB / 0.942 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.8273, allocations: 54.03 kB / 0.942 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008794/0.8282, allocations: 0.5725 MB / 0.9426 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=104): time 2.224e-06/0.8282, allocations: 0 / 0.9426 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104): time 0.003099/0.8313, allocations: 1.484 MB / 0.944 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.8314, allocations: 192.2 kB / 0.9442 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.8323, allocations: 0.7376 MB / 0.9449 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.8323, allocations: 41.36 kB / 0.945 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.8327, allocations: 0.5556 MB / 0.9455 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.8329, allocations: 344.9 kB / 0.9458 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.8329, allocations: 20.5 kB / 0.9459 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8331, allocations: 402.7 kB / 0.9462 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.8337, allocations: 362.2 kB / 0.9466 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.8344, allocations: 472.5 kB / 0.947 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.8351, allocations: 423 kB / 0.9474 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8351, allocations: 1.625 kB / 0.9474 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002154/0.8373, allocations: 1.112 MB / 0.9485 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.8373, allocations: 8.219 kB / 0.9485 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8373, allocations: 5.812 kB / 0.9485 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.8379, allocations: 79.36 kB / 0.9486 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.8388, allocations: 236.8 kB / 0.9488 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.8406, allocations: 1.535 MB / 0.9503 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.8414, allocations: 115.9 kB / 0.9505 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/0.8415, allocations: 50.94 kB / 0.9505 GB, free: 14.29 MB / 0.7325 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.0005726/0.8421, allocations: 308 kB / 0.9508 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.8422, allocations: 99.69 kB / 0.9509 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.845, allocations: 1.415 MB / 0.9523 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.845, allocations: 11.81 kB / 0.9523 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.845, allocations: 0 / 0.9523 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.845, allocations: 10.97 kB / 0.9523 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.8487, allocations: 2.552 MB / 0.9548 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8487, allocations: 0 / 0.9548 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.8495, allocations: 197.5 kB / 0.955 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.8499, allocations: 84.41 kB / 0.9551 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.85, allocations: 32.8 kB / 0.9551 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.8515, allocations: 1.563 MB / 0.9566 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8515, allocations: 1.25 kB / 0.9566 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.8535, allocations: 1.162 MB / 0.9578 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.8539, allocations: 351.2 kB / 0.9581 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.854, allocations: 27.91 kB / 0.9581 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.8547, allocations: 69.58 kB / 0.9582 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.8548, allocations: 87.86 kB / 0.9583 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.8549, allocations: 36.62 kB / 0.9583 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006839/0.8556, allocations: 0.5522 MB / 0.9588 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8556, allocations: 1.094 kB / 0.9588 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000982/0.8566, allocations: 381.5 kB / 0.9592 GB, free: 11.61 MB / 0.7325 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.00107/0.8576, allocations: 0.5583 MB / 0.9597 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.8592, allocations: 1.036 MB / 0.9608 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8592, allocations: 3.406 kB / 0.9608 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.86, allocations: 0.6107 MB / 0.9614 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.8611, allocations: 273.2 kB / 0.9616 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.8652, allocations: 2.92 MB / 0.9645 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.8659, allocations: 1.161 MB / 0.9656 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008716/0.8668, allocations: 298.7 kB / 0.9659 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.8671, allocations: 133.3 kB / 0.966 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.8671, allocations: 0 / 0.966 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of Templates: time 0.02339/0.8905, allocations: 16.08 MB / 0.9817 GB, free: 0.6953 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: