Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008559/0.0008561, allocations: 98.19 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.005483/0.005483, allocations: 168.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12.23 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3442, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005429/0.3497, allocations: 4.399 MB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.5221, allocations: 146.7 MB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.523, allocations: 11.94 kB / 1.222 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.5235, allocations: 154.8 kB / 1.222 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.5251, allocations: 469.3 kB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.5269, allocations: 0.72 MB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.5284, allocations: 1.284 MB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009846/0.5294, allocations: 0.567 MB / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.5301, allocations: 338.4 kB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.5308, allocations: 389.9 kB / 1.225 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.5309, allocations: 24 kB / 1.226 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/0.5317, allocations: 367.6 kB / 1.226 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.5319, allocations: 191.1 kB / 1.226 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.5324, allocations: 470.9 kB / 1.226 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5338, allocations: 1.503 MB / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5338, allocations: 0 / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5338, allocations: 0 / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.5339, allocations: 0 / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002165/0.536, allocations: 1.208 MB / 1.229 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5361, allocations: 8.031 kB / 1.229 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.537, allocations: 203.4 kB / 1.229 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.538, allocations: 0.7383 MB / 1.23 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.5381, allocations: 62 kB / 1.23 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5382, allocations: 80 kB / 1.23 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5398, allocations: 0.9184 MB / 1.231 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5398, allocations: 7.938 kB / 1.231 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/0.5399, allocations: 36 kB / 1.231 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.5399, allocations: 20 kB / 1.231 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.5416, allocations: 1.116 MB / 1.232 GB, free: 4.871 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.5458, allocations: 2.777 MB / 1.235 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5474, allocations: 0.8959 MB / 1.236 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.5479, allocations: 306.7 kB / 1.236 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.548, allocations: 36.59 kB / 1.236 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/0.5489, allocations: 499.1 kB / 1.237 GB, free: 212 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.064e-06/0.5489, allocations: 0 / 1.237 GB, free: 212 kB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003064/0.552, allocations: 1.213 MB / 1.238 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5521, allocations: 188.6 kB / 1.238 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/0.5529, allocations: 0.6254 MB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/0.553, allocations: 41.7 kB / 1.239 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.5533, allocations: 392.3 kB / 1.239 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.5536, allocations: 256.3 kB / 1.239 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5537, allocations: 69.69 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5538, allocations: 386.7 kB / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.5544, allocations: 273.8 kB / 1.24 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.555, allocations: 371 kB / 1.24 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5563, allocations: 0.6112 MB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5563, allocations: 0 / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002013/0.5583, allocations: 0.8528 MB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5583, allocations: 8 kB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5584, allocations: 0 / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.559, allocations: 92.7 kB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.5597, allocations: 163.7 kB / 1.242 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.5621, allocations: 1.536 MB / 1.244 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/0.563, allocations: 95.33 kB / 1.244 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.5631, allocations: 35.97 kB / 1.244 GB, free: 8.762 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004555/0.5635, allocations: 271.4 kB / 1.244 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.5637, allocations: 87 kB / 1.244 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5661, allocations: 1.073 MB / 1.245 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5662, allocations: 8 kB / 1.245 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5662, allocations: 0 / 1.245 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5662, allocations: 3.984 kB / 1.245 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.5695, allocations: 1.97 MB / 1.247 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5695, allocations: 0 / 1.247 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.5701, allocations: 147.8 kB / 1.247 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.5707, allocations: 88.7 kB / 1.247 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.5708, allocations: 23.98 kB / 1.247 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.5726, allocations: 1.563 MB / 1.249 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5727, allocations: 3.984 kB / 1.249 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.5747, allocations: 0.9962 MB / 1.25 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.5752, allocations: 291.8 kB / 1.25 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.5753, allocations: 23.94 kB / 1.25 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007346/0.5761, allocations: 94.64 kB / 1.25 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.5762, allocations: 68.91 kB / 1.25 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.5763, allocations: 39.97 kB / 1.25 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005976/0.5769, allocations: 451 kB / 1.251 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5769, allocations: 0 / 1.251 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009491/0.5779, allocations: 319.2 kB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001532/0.5794, allocations: 0.5891 MB / 1.252 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.652/1.231, allocations: 0.8341 MB / 1.252 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.231, allocations: 1.656 kB / 1.252 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.233, allocations: 0.5172 MB / 1.253 GB, free: 30.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.234, allocations: 279 kB / 1.253 GB, free: 30.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/1.238, allocations: 2.067 MB / 1.255 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/1.238, allocations: 1.019 MB / 1.256 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001072/1.239, allocations: 257.4 kB / 1.256 GB, free: 29.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/1.24, allocations: 103.3 kB / 1.256 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.24, allocations: 3.375 kB / 1.256 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.0314/1.271, allocations: 14.45 MB / 1.271 GB, free: 28.28 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)