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.001187/0.001188, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01176/0.01176, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.562/1.562, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0004982/0.0004982, allocations: 9.844 kB / 0.6743 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004674/0.2392, allocations: 3.699 MB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6076/0.8468, allocations: 146.3 MB / 0.9343 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.8473, allocations: 14.44 kB / 0.9343 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.8477, allocations: 133.2 kB / 0.9345 GB, free: 1.984 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.0009983/0.8487, allocations: 357.3 kB / 0.9348 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.8501, allocations: 0.6654 MB / 0.9355 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00086/0.851, allocations: 1.081 MB / 0.9365 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006768/0.8517, allocations: 0.5591 MB / 0.9371 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.8521, allocations: 295.5 kB / 0.9373 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.8524, allocations: 324.3 kB / 0.9377 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.8525, allocations: 21 kB / 0.9377 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.8531, allocations: 290.3 kB / 0.938 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.8532, allocations: 166.4 kB / 0.9381 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.8536, allocations: 405.8 kB / 0.9385 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.8547, allocations: 1.287 MB / 0.9398 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8547, allocations: 0 / 0.9398 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8547, allocations: 0 / 0.9398 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.8547, allocations: 0 / 0.9398 GB, free: 17.41 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.001677/0.8564, allocations: 1.097 MB / 0.9408 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8564, allocations: 9.688 kB / 0.9408 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.8573, allocations: 183.9 kB / 0.941 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.8583, allocations: 0.6972 MB / 0.9417 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.8584, allocations: 54.56 kB / 0.9417 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.8585, allocations: 74.25 kB / 0.9418 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.86, allocations: 0.8433 MB / 0.9426 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.86, allocations: 0.5938 kB / 0.9426 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.8601, allocations: 33.44 kB / 0.9427 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.8601, allocations: 21.11 kB / 0.9427 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.8618, allocations: 1.056 MB / 0.9437 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.8655, allocations: 2.398 MB / 0.9461 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.8672, allocations: 0.7217 MB / 0.9468 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.8678, allocations: 283.7 kB / 0.947 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.8679, allocations: 26.77 kB / 0.9471 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/0.8687, allocations: 426.9 kB / 0.9475 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.8687, allocations: 0.9688 kB / 0.9475 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002884/0.8716, allocations: 1.094 MB / 0.9485 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8717, allocations: 190.1 kB / 0.9487 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/0.8725, allocations: 0.5648 MB / 0.9493 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.8726, allocations: 39.95 kB / 0.9493 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.8729, allocations: 364.1 kB / 0.9497 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.8731, allocations: 229.8 kB / 0.9499 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.8732, allocations: 61.72 kB / 0.9499 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8734, allocations: 383.2 kB / 0.9503 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.8738, allocations: 242 kB / 0.9505 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.8744, allocations: 331.7 kB / 0.9508 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.8753, allocations: 0.5594 MB / 0.9514 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8753, allocations: 3.938 kB / 0.9514 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001727/0.8771, allocations: 0.7766 MB / 0.9522 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8771, allocations: 5.281 kB / 0.9522 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8771, allocations: 1.312 kB / 0.9522 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.8777, allocations: 82.41 kB / 0.9522 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.8783, allocations: 147.1 kB / 0.9524 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.8803, allocations: 1.533 MB / 0.9539 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.881, allocations: 92.31 kB / 0.954 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.881, allocations: 32.33 kB / 0.954 GB, free: 12.4 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 (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.0003902/0.8814, allocations: 255.6 kB / 0.9542 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8816, allocations: 70.5 kB / 0.9543 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.8837, allocations: 0.9928 MB / 0.9553 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.8837, allocations: 8.781 kB / 0.9553 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.8837, allocations: 6.578 kB / 0.9553 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.8837, allocations: 2.484 kB / 0.9553 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.8847, allocations: 0.8329 MB / 0.9561 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8847, allocations: 0 / 0.9561 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.8852, allocations: 137.6 kB / 0.9562 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.8858, allocations: 82.33 kB / 0.9563 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.8858, allocations: 30.02 kB / 0.9563 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.8877, allocations: 1.556 MB / 0.9579 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8877, allocations: 0 / 0.9579 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.8895, allocations: 0.842 MB / 0.9587 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.8898, allocations: 270.9 kB / 0.9589 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.8899, allocations: 19.09 kB / 0.959 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.8905, allocations: 65.84 kB / 0.959 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8906, allocations: 56.77 kB / 0.9591 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.8907, allocations: 28.95 kB / 0.9591 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005442/0.8913, allocations: 427.3 kB / 0.9595 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8913, allocations: 0 / 0.9595 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008296/0.8921, allocations: 267.2 kB / 0.9598 GB, free: 10.11 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 (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.001264/0.8934, allocations: 0.5637 MB / 0.9603 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.895, allocations: 0.7656 MB / 0.9611 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.895, allocations: 1.375 kB / 0.9611 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.896, allocations: 492.3 kB / 0.9615 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.8973, allocations: 254.1 kB / 0.9618 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.9017, allocations: 2.063 MB / 0.9638 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/0.9025, allocations: 0.9921 MB / 0.9648 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008906/0.9034, allocations: 254.9 kB / 0.965 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.9037, allocations: 95.02 kB / 0.9651 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of SimCode: time 1.542e-06/0.9037, allocations: 0 / 0.9651 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of Templates: time 0.02218/0.9259, allocations: 12.84 MB / 0.9776 GB, free: 1.402 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: