Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 91.92 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.001005/0.001005, 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.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005556/0.0005558, allocations: 14.97 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2159, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004187/0.2201, allocations: 3.51 MB / 0.7907 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.556/0.7761, allocations: 136.4 MB / 0.9239 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.7767, allocations: 20.97 kB / 0.9239 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.7772, allocations: 122.5 kB / 0.9241 GB, free: 5.375 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.001117/0.7783, allocations: 347.9 kB / 0.9244 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.78, allocations: 0.5906 MB / 0.925 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.781, allocations: 0.9946 MB / 0.9259 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006252/0.7817, allocations: 456.1 kB / 0.9264 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.7821, allocations: 285.1 kB / 0.9266 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.7825, allocations: 308 kB / 0.9269 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.7825, allocations: 23.22 kB / 0.927 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.7832, allocations: 262.2 kB / 0.9272 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.7834, allocations: 162.2 kB / 0.9274 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.7835, allocations: 175.7 kB / 0.9275 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.7847, allocations: 1.021 MB / 0.9285 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7847, allocations: 0.6562 kB / 0.9285 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7847, allocations: 4 kB / 0.9285 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.7847, allocations: 0 / 0.9285 GB, free: 4.945 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002088/0.7868, allocations: 1.092 MB / 0.9296 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7868, allocations: 10.94 kB / 0.9296 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.7877, allocations: 187 kB / 0.9298 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.7886, allocations: 0.6701 MB / 0.9304 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.7887, allocations: 57.11 kB / 0.9305 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.7888, allocations: 74.22 kB / 0.9306 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.7901, allocations: 0.8397 MB / 0.9314 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.7901, allocations: 6.625 kB / 0.9314 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.7902, allocations: 32.25 kB / 0.9314 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.7902, allocations: 22.36 kB / 0.9314 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.7916, allocations: 1.052 MB / 0.9325 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.795, allocations: 2.379 MB / 0.9348 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.7962, allocations: 0.716 MB / 0.9355 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.7967, allocations: 284.9 kB / 0.9358 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/0.7968, allocations: 30.36 kB / 0.9358 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.7976, allocations: 427.1 kB / 0.9362 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.7976, allocations: 0 / 0.9362 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.00286/0.8004, allocations: 1.085 MB / 0.9373 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.8006, allocations: 192.4 kB / 0.9374 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.8014, allocations: 0.5543 MB / 0.938 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.8015, allocations: 42.86 kB / 0.938 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.8017, allocations: 368.3 kB / 0.9384 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.8019, allocations: 233.9 kB / 0.9386 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.8019, allocations: 14.84 kB / 0.9386 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.8021, allocations: 375.7 kB / 0.939 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.8026, allocations: 236.9 kB / 0.9392 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.8032, allocations: 331 kB / 0.9395 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.8038, allocations: 284.6 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8038, allocations: 0.5938 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00189/0.8057, allocations: 0.7665 MB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.8057, allocations: 5.375 kB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8058, allocations: 8.219 kB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.8063, allocations: 82.95 kB / 0.9406 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.8069, allocations: 142 kB / 0.9408 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.8087, allocations: 1.532 MB / 0.9423 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.8093, allocations: 86.44 kB / 0.9423 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.8093, allocations: 30.14 kB / 0.9424 GB, free: 16.04 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 (81): * Single equations (assignments): 80 * 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.0004298/0.8098, allocations: 256.6 kB / 0.9426 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.8099, allocations: 70.88 kB / 0.9427 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.8118, allocations: 1.002 MB / 0.9437 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.8119, allocations: 8.594 kB / 0.9437 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.8119, allocations: 4 kB / 0.9437 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.8119, allocations: 4.828 kB / 0.9437 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.8128, allocations: 0.834 MB / 0.9445 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8128, allocations: 0 / 0.9445 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.8133, allocations: 142.1 kB / 0.9446 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.8138, allocations: 81.62 kB / 0.9447 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.8138, allocations: 23.69 kB / 0.9447 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.8155, allocations: 1.558 MB / 0.9462 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8155, allocations: 0 / 0.9462 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.8171, allocations: 0.8381 MB / 0.9471 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.8175, allocations: 267.5 kB / 0.9473 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.8176, allocations: 13.38 kB / 0.9473 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.8181, allocations: 69.12 kB / 0.9474 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8183, allocations: 57.28 kB / 0.9475 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.8183, allocations: 35.92 kB / 0.9475 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005539/0.8189, allocations: 414.5 kB / 0.9479 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8189, allocations: 3.938 kB / 0.9479 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008771/0.8198, allocations: 268.3 kB / 0.9481 GB, free: 13.72 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001223/0.821, allocations: 0.5486 MB / 0.9487 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.8225, allocations: 0.7512 MB / 0.9494 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8225, allocations: 0 / 0.9494 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.8233, allocations: 488.5 kB / 0.9499 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8243, allocations: 251.3 kB / 0.9501 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.828, allocations: 2.008 MB / 0.9521 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.8286, allocations: 0.9886 MB / 0.953 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008868/0.8295, allocations: 250.7 kB / 0.9533 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.8298, allocations: 92.42 kB / 0.9534 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.8298, allocations: 0 / 0.9534 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.02217/0.852, allocations: 12.46 MB / 0.9655 GB, free: 7.309 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: