Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001952/0.001952, allocations: 191.6 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.377/1.377, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.675/1.675, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001429/0.001429, allocations: 69.59 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3025, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.008123/0.3107, allocations: 4.232 MB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6587/0.9695, allocations: 148.1 MB / 0.9316 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.9705, allocations: 16.75 kB / 0.9316 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.9711, allocations: 136.8 kB / 0.9317 GB, free: 5.355 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.001604/0.9728, allocations: 372.5 kB / 0.9321 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.9751, allocations: 0.7213 MB / 0.9328 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.9774, allocations: 1.216 MB / 0.934 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009223/0.9783, allocations: 0.6081 MB / 0.9346 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.9791, allocations: 448.4 kB / 0.935 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.9796, allocations: 468 kB / 0.9355 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.9797, allocations: 108.4 kB / 0.9356 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.9805, allocations: 395.8 kB / 0.9359 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.9808, allocations: 275.5 kB / 0.9362 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.9812, allocations: 0.5035 MB / 0.9367 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.9831, allocations: 1.425 MB / 0.9381 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9831, allocations: 0.6562 kB / 0.9381 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9831, allocations: 0 / 0.9381 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.9831, allocations: 0 / 0.9381 GB, free: 5.109 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002796/0.9859, allocations: 1.344 MB / 0.9394 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.986, allocations: 14.5 kB / 0.9394 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.987, allocations: 178.8 kB / 0.9396 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.9882, allocations: 0.7108 MB / 0.9403 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.9883, allocations: 68.66 kB / 0.9403 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.9884, allocations: 77.52 kB / 0.9404 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.9901, allocations: 0.8788 MB / 0.9413 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.9901, allocations: 0 / 0.9413 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.9902, allocations: 36.28 kB / 0.9413 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.9902, allocations: 19.84 kB / 0.9413 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.9919, allocations: 1.082 MB / 0.9424 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.9962, allocations: 2.411 MB / 0.9447 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.9982, allocations: 0.8725 MB / 0.9456 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.9988, allocations: 295 kB / 0.9459 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.9989, allocations: 34.58 kB / 0.9459 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009788/0.9999, allocations: 443.8 kB / 0.9463 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/0.9999, allocations: 4.656 kB / 0.9463 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.003392/1.003, allocations: 1.138 MB / 0.9474 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.003, allocations: 188.3 kB / 0.9476 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/1.004, allocations: 0.5825 MB / 0.9482 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/1.004, allocations: 39.61 kB / 0.9482 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/1.005, allocations: 374.6 kB / 0.9486 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/1.005, allocations: 251.1 kB / 0.9488 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.005, allocations: 158 kB / 0.949 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.005, allocations: 389 kB / 0.9493 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/1.006, allocations: 245.2 kB / 0.9496 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/1.006, allocations: 343.7 kB / 0.9499 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.008, allocations: 0.586 MB / 0.9505 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.008, allocations: 0.6875 kB / 0.9505 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00224/1.01, allocations: 0.8106 MB / 0.9513 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.01, allocations: 5.719 kB / 0.9513 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.01, allocations: 5.188 kB / 0.9513 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/1.011, allocations: 77.73 kB / 0.9514 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/1.011, allocations: 166.1 kB / 0.9515 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.013, allocations: 1.628 MB / 0.9531 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/1.014, allocations: 78.83 kB / 0.9532 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/1.014, allocations: 37.41 kB / 0.9532 GB, free: 15.95 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 (87): * Single equations (assignments): 86 * 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.0004702/1.015, allocations: 257.1 kB / 0.9535 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.015, allocations: 76.44 kB / 0.9535 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/1.017, allocations: 1.074 MB / 0.9546 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.017, allocations: 9.781 kB / 0.9546 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.017, allocations: 64 / 0.9546 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.017, allocations: 15.8 kB / 0.9546 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/1.02, allocations: 1.94 MB / 0.9565 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.02, allocations: 0 / 0.9565 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/1.021, allocations: 159.5 kB / 0.9567 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/1.022, allocations: 75.22 kB / 0.9567 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/1.022, allocations: 29.22 kB / 0.9568 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/1.023, allocations: 1.656 MB / 0.9584 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.023, allocations: 0.9375 kB / 0.9584 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/1.025, allocations: 0.9625 MB / 0.9593 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/1.026, allocations: 264.5 kB / 0.9596 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.026, allocations: 26.86 kB / 0.9596 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/1.026, allocations: 56.25 kB / 0.9596 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.027, allocations: 64.73 kB / 0.9597 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/1.027, allocations: 33.67 kB / 0.9597 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005149/1.027, allocations: 436 kB / 0.9601 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.41e-07/1.027, allocations: 1.156 kB / 0.9602 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008759/1.028, allocations: 287.1 kB / 0.9604 GB, free: 13.37 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 (93): * Single equations (assignments): 90 * 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.001317/1.029, allocations: 0.5843 MB / 0.961 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00284/1.032, allocations: 1.001 MB / 0.962 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.032, allocations: 5.344 kB / 0.962 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.033, allocations: 0.507 MB / 0.9625 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.035, allocations: 280.7 kB / 0.9627 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/1.039, allocations: 2.119 MB / 0.9648 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/1.039, allocations: 1.014 MB / 0.9658 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008713/1.04, allocations: 270.2 kB / 0.9661 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/1.04, allocations: 103.8 kB / 0.9662 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/1.041, allocations: 0 / 0.9662 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.02166/1.062, allocations: 13.95 MB / 0.9798 GB, free: 8.148 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)