Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 179.2 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008231/0.0008233, allocations: 92.41 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 12.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2067, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003866/0.2106, allocations: 3.734 MB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.3554, allocations: 147.9 MB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.3562, allocations: 15.94 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.3569, allocations: 131 kB / 1.045 GB, free: 11.83 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001364/0.3583, allocations: 357 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.36, allocations: 0.6621 MB / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.3615, allocations: 1.059 MB / 1.047 GB, free: 9.762 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.3624, allocations: 0.547 MB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.363, allocations: 282.5 kB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.3635, allocations: 314.2 kB / 1.048 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.3636, allocations: 24 kB / 1.048 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.3643, allocations: 299.7 kB / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.3646, allocations: 167.2 kB / 1.049 GB, free: 8.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.365, allocations: 365.5 kB / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3664, allocations: 1.257 MB / 1.05 GB, free: 6.516 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3664, allocations: 0 / 1.05 GB, free: 6.516 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3664, allocations: 0 / 1.05 GB, free: 6.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3664, allocations: 0 / 1.05 GB, free: 6.516 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001808/0.3682, allocations: 1.084 MB / 1.051 GB, free: 5.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3683, allocations: 12.03 kB / 1.051 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.3691, allocations: 187.5 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.3701, allocations: 0.6839 MB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.3701, allocations: 58 kB / 1.052 GB, free: 4.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.3702, allocations: 72 kB / 1.052 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.3715, allocations: 0.8364 MB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.3715, allocations: 0 / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.3716, allocations: 32 kB / 1.053 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3716, allocations: 16 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.3731, allocations: 1.05 MB / 1.054 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3865/0.7596, allocations: 2.335 MB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.7613, allocations: 0.7798 MB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.7618, allocations: 273.1 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.449e-05/0.7619, allocations: 32.89 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006367/0.7625, allocations: 419.2 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 4.869e-06/0.7625, allocations: 0 / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002649/0.7652, allocations: 1.069 MB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7652, allocations: 186.3 kB / 1.059 GB, free: 159.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.7658, allocations: 0.5643 MB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.7659, allocations: 37.92 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.7661, allocations: 355.9 kB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.7663, allocations: 233.1 kB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.7663, allocations: 64.86 kB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7665, allocations: 371.5 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.7669, allocations: 237.6 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.7674, allocations: 318.4 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.7683, allocations: 0.5467 MB / 1.062 GB, free: 158.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7683, allocations: 4.047 kB / 1.062 GB, free: 158.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00164/0.77, allocations: 0.7563 MB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.77, allocations: 6.422 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.77, allocations: 3.344 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.7706, allocations: 81.97 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.7711, allocations: 153.8 kB / 1.063 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.7729, allocations: 1.516 MB / 1.064 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.7735, allocations: 81.89 kB / 1.064 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.7736, allocations: 34.72 kB / 1.064 GB, free: 156.9 MB / 0.698 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.0004024/0.774, allocations: 249.5 kB / 1.064 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7741, allocations: 78.53 kB / 1.064 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.7764, allocations: 0.9573 MB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7765, allocations: 9.172 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7765, allocations: 5.219 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.7768, allocations: 248.3 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.7769, allocations: 16.64 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.7774, allocations: 67.36 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7776, allocations: 58.94 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001878/0.7794, allocations: 0.8563 MB / 1.067 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002038/0.7815, allocations: 1.257 MB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005464/0.782, allocations: 319.7 kB / 1.068 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005243/0.7826, allocations: 399.6 kB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of Backend: time 2.9e-07/0.7826, allocations: 0 / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.7855, allocations: 1.12 MB / 1.07 GB, free: 155.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.002852/0.7883, allocations: 2.257 MB / 1.072 GB, free: 154.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02135/0.8097, allocations: 13.51 MB / 1.085 GB, free: 149 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)