Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7354/0.7354, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.001171, allocations: 186.9 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205 MB / 408.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009798/0.0009797, allocations: 101.9 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 57.48 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1257, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004577/0.1304, allocations: 3.921 MB / 0.6355 GB, free: 29.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.414/0.5444, allocations: 147.8 MB / 0.7799 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.545, allocations: 12.27 kB / 0.7799 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.5455, allocations: 92.88 kB / 0.78 GB, free: 14.05 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001049/0.5465, allocations: 344.2 kB / 0.7803 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.548, allocations: 0.651 MB / 0.7809 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008184/0.5488, allocations: 1 MB / 0.7819 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.5494, allocations: 0.5219 MB / 0.7824 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.5498, allocations: 358.2 kB / 0.7828 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.5503, allocations: 405 kB / 0.7831 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.5504, allocations: 44.44 kB / 0.7832 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.5509, allocations: 329.6 kB / 0.7835 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.5511, allocations: 194.5 kB / 0.7837 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.5514, allocations: 418.2 kB / 0.7841 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.5526, allocations: 1.32 MB / 0.7854 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5527, allocations: 0 / 0.7854 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5527, allocations: 4 kB / 0.7854 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.5527, allocations: 0 / 0.7854 GB, free: 13.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002018/0.5547, allocations: 1.229 MB / 0.7866 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5548, allocations: 13.62 kB / 0.7866 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.5566, allocations: 295.9 kB / 0.7869 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008348/0.5575, allocations: 0.6242 MB / 0.7875 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.5575, allocations: 56.47 kB / 0.7875 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.5576, allocations: 74.09 kB / 0.7876 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.559, allocations: 0.8532 MB / 0.7884 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.559, allocations: 0 / 0.7884 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.5591, allocations: 31.09 kB / 0.7885 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5591, allocations: 19.44 kB / 0.7885 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.561, allocations: 1.122 MB / 0.7896 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.5645, allocations: 2.321 MB / 0.7918 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.5663, allocations: 0.7978 MB / 0.7926 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.567, allocations: 313.2 kB / 0.7929 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.5676, allocations: 471.5 kB / 0.7934 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009854/0.5686, allocations: 470.9 kB / 0.7938 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5687, allocations: 0 / 0.7938 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.003334/0.572, allocations: 1.147 MB / 0.7949 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.5721, allocations: 114.4 kB / 0.7951 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.5727, allocations: 0.4893 MB / 0.7955 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.5728, allocations: 48.59 kB / 0.7956 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.573, allocations: 329 kB / 0.7959 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5732, allocations: 230.3 kB / 0.7961 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5734, allocations: 128.5 kB / 0.7962 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5736, allocations: 368.3 kB / 0.7966 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.5742, allocations: 247.9 kB / 0.7968 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/0.5749, allocations: 325.4 kB / 0.7971 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.5763, allocations: 0.5762 MB / 0.7977 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5763, allocations: 1.281 kB / 0.7977 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002194/0.5785, allocations: 0.7613 MB / 0.7984 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5785, allocations: 5.312 kB / 0.7984 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5785, allocations: 1.156 kB / 0.7984 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.5791, allocations: 87.52 kB / 0.7985 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.5798, allocations: 142.9 kB / 0.7987 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.5817, allocations: 1.533 MB / 0.8002 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.5823, allocations: 67 kB / 0.8002 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.5824, allocations: 33.47 kB / 0.8003 GB, free: 7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0003229/0.5827, allocations: 241.2 kB / 0.8005 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5829, allocations: 67.62 kB / 0.8006 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.5853, allocations: 0.9935 MB / 0.8015 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5853, allocations: 18.19 kB / 0.8015 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5853, allocations: 0 / 0.8015 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.5853, allocations: 3.984 kB / 0.8015 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.5861, allocations: 0.8022 MB / 0.8023 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.5862, allocations: 6.375 kB / 0.8023 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.5868, allocations: 150.5 kB / 0.8025 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.5873, allocations: 82.34 kB / 0.8026 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.5874, allocations: 21.86 kB / 0.8026 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.589, allocations: 1.552 MB / 0.8041 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.589, allocations: 0 / 0.8041 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.592, allocations: 1.838 MB / 0.8059 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.5924, allocations: 249.8 kB / 0.8061 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.5925, allocations: 18.56 kB / 0.8061 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.593, allocations: 61.25 kB / 0.8062 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5931, allocations: 53.61 kB / 0.8063 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.5932, allocations: 38.38 kB / 0.8063 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003867/0.5936, allocations: 364.2 kB / 0.8066 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5936, allocations: 0 / 0.8066 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008236/0.5944, allocations: 269.9 kB / 0.8069 GB, free: 3.348 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.001143/0.5956, allocations: 0.5569 MB / 0.8074 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.5973, allocations: 0.7572 MB / 0.8082 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5974, allocations: 4 kB / 0.8082 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000972/0.5983, allocations: 0.49 MB / 0.8087 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008691/0.5992, allocations: 215.9 kB / 0.8089 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.6031, allocations: 2.331 MB / 0.8111 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.6036, allocations: 0.9886 MB / 0.8121 GB, free: 472 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008586/0.6044, allocations: 233.3 kB / 0.8123 GB, free: 348 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.6047, allocations: 93.48 kB / 0.8124 GB, free: 324 kB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/0.6047, allocations: 0 / 0.8124 GB, free: 324 kB / 0.5261 GB Notification: Performance of Templates: time 0.01823/0.6229, allocations: 12.14 MB / 0.8243 GB, free: 10.26 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)