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.001388/0.001389, 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.00165/0.00165, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.468/1.468, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.698/1.698, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001989/0.00199, allocations: 69.39 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2288, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005888/0.2347, allocations: 4.107 MB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5383/0.773, allocations: 148 MB / 0.9313 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.7739, allocations: 21.28 kB / 0.9314 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.7745, allocations: 128.7 kB / 0.9315 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.001285/0.7758, allocations: 372.9 kB / 0.9318 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.7775, allocations: 0.6856 MB / 0.9325 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.7788, allocations: 1.154 MB / 0.9336 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007287/0.7795, allocations: 0.5961 MB / 0.9342 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.7802, allocations: 418.8 kB / 0.9346 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.7807, allocations: 440.7 kB / 0.935 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.7809, allocations: 104.4 kB / 0.9351 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.7815, allocations: 371.1 kB / 0.9355 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.7818, allocations: 269.8 kB / 0.9357 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.7822, allocations: 496.3 kB / 0.9362 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.7837, allocations: 1.379 MB / 0.9376 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7837, allocations: 3.656 kB / 0.9376 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7837, allocations: 0 / 0.9376 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.7837, allocations: 0 / 0.9376 GB, free: 5.129 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002105/0.7858, allocations: 1.287 MB / 0.9388 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7859, allocations: 7.969 kB / 0.9388 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.7867, allocations: 172.8 kB / 0.939 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.7877, allocations: 0.6987 MB / 0.9397 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.7877, allocations: 56 kB / 0.9397 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.7878, allocations: 77.72 kB / 0.9398 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.7891, allocations: 0.8441 MB / 0.9406 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7892, allocations: 0 / 0.9406 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.7893, allocations: 33.44 kB / 0.9407 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.7893, allocations: 19.44 kB / 0.9407 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.7908, allocations: 1.052 MB / 0.9417 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.7943, allocations: 2.348 MB / 0.944 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.7954, allocations: 0.724 MB / 0.9447 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.7958, allocations: 275 kB / 0.945 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.7959, allocations: 32.94 kB / 0.945 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008141/0.7967, allocations: 427.6 kB / 0.9454 GB, free: 19 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.7968, allocations: 0 / 0.9454 GB, free: 19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.003159/0.7999, allocations: 1.075 MB / 0.9465 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.8001, allocations: 191.8 kB / 0.9466 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.8009, allocations: 0.5587 MB / 0.9472 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.801, allocations: 40.39 kB / 0.9472 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.8012, allocations: 365.4 kB / 0.9476 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.8014, allocations: 229.7 kB / 0.9478 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.8016, allocations: 154.7 kB / 0.9479 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8018, allocations: 381.1 kB / 0.9483 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.8022, allocations: 239.3 kB / 0.9485 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.8028, allocations: 322.8 kB / 0.9488 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.8038, allocations: 0.5543 MB / 0.9494 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8038, allocations: 1.938 kB / 0.9494 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002074/0.8059, allocations: 0.7655 MB / 0.9501 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8059, allocations: 5.75 kB / 0.9501 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8059, allocations: 1.125 kB / 0.9501 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.8066, allocations: 82.03 kB / 0.9502 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.8073, allocations: 147.2 kB / 0.9504 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.8096, allocations: 1.647 MB / 0.952 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.8104, allocations: 83.62 kB / 0.9521 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.8105, allocations: 34.91 kB / 0.9521 GB, free: 16.14 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 (81): * Single equations (assignments): 80 * 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.0005114/0.811, allocations: 258 kB / 0.9523 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.8111, allocations: 70.31 kB / 0.9524 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.8133, allocations: 0.9891 MB / 0.9534 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8133, allocations: 8.156 kB / 0.9534 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.8133, allocations: 0 / 0.9534 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8133, allocations: 4.188 kB / 0.9534 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8145, allocations: 0.8325 MB / 0.9542 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.922e-06/0.8145, allocations: 0 / 0.9542 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.8151, allocations: 143.1 kB / 0.9543 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/0.8156, allocations: 72.97 kB / 0.9544 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.8157, allocations: 22.73 kB / 0.9544 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.8176, allocations: 1.665 MB / 0.956 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8176, allocations: 0 / 0.956 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8194, allocations: 0.8335 MB / 0.9569 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.8197, allocations: 257.1 kB / 0.9571 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.8198, allocations: 19.47 kB / 0.9571 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.8203, allocations: 51.41 kB / 0.9572 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.8205, allocations: 58.06 kB / 0.9572 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/0.8205, allocations: 31.88 kB / 0.9573 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000583/0.8211, allocations: 416 kB / 0.9577 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8211, allocations: 4 kB / 0.9577 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009293/0.8221, allocations: 271.5 kB / 0.9579 GB, free: 13.8 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.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 (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.001246/0.8233, allocations: 0.5587 MB / 0.9585 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.8256, allocations: 0.9341 MB / 0.9594 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8256, allocations: 0 / 0.9594 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.8265, allocations: 486.9 kB / 0.9598 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.8278, allocations: 280.3 kB / 0.9601 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.8313, allocations: 2.003 MB / 0.9621 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.8319, allocations: 0.9853 MB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009402/0.8329, allocations: 252.2 kB / 0.9633 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.8331, allocations: 98.19 kB / 0.9634 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.8331, allocations: 0 / 0.9634 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.022/0.8551, allocations: 13.39 MB / 0.9764 GB, free: 9.434 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (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)