Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001443/0.001443, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.98 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3244, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007622/0.3321, allocations: 4.952 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.4893, allocations: 148.3 MB / 1.217 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.4904, allocations: 23.88 kB / 1.217 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008441/0.4912, allocations: 150.8 kB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.4936, allocations: 481.4 kB / 1.218 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.4969, allocations: 0.7327 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.4997, allocations: 1.339 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.501, allocations: 0.5675 MB / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.5019, allocations: 442.2 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.503, allocations: 497.7 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.5033, allocations: 59.94 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5045, allocations: 399.7 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.5048, allocations: 243 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.5056, allocations: 0.5244 MB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.5076, allocations: 1.566 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.5076, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5076, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.103e-05/0.5076, allocations: 0 / 1.224 GB, free: 10.06 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003441/0.5111, allocations: 1.468 MB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5111, allocations: 8.031 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.5122, allocations: 191.4 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5135, allocations: 0.7546 MB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.5136, allocations: 62 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5137, allocations: 84 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.5155, allocations: 0.9457 MB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5156, allocations: 3.938 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.5157, allocations: 43.98 kB / 1.227 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.5157, allocations: 24 kB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.5178, allocations: 1.128 MB / 1.229 GB, free: 5.219 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.004574/0.5223, allocations: 2.771 MB / 1.231 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.5241, allocations: 0.9081 MB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.5247, allocations: 316.9 kB / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/0.5248, allocations: 32.67 kB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.5258, allocations: 0.5197 MB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.745e-06/0.5258, allocations: 0 / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003469/0.5292, allocations: 1.255 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5294, allocations: 196.9 kB / 1.234 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.5303, allocations: 0.641 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.5304, allocations: 41.7 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5307, allocations: 404.4 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.531, allocations: 280 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.5312, allocations: 170.5 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5314, allocations: 390.7 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.532, allocations: 277.8 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.5327, allocations: 384 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.5339, allocations: 0.6329 MB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5339, allocations: 0 / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002134/0.536, allocations: 0.8878 MB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.536, allocations: 7.938 kB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5361, allocations: 0 / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.5367, allocations: 88.83 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.5374, allocations: 171.7 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.5396, allocations: 1.516 MB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.5404, allocations: 99.28 kB / 1.24 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.5405, allocations: 43.97 kB / 1.24 GB, free: 8.781 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004621/0.541, allocations: 288.5 kB / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.5412, allocations: 86.91 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.5439, allocations: 1.132 MB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5439, allocations: 12 kB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5439, allocations: 0 / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5439, allocations: 7.922 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.5475, allocations: 2.021 MB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5475, allocations: 0 / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.5482, allocations: 163.8 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.5487, allocations: 76.78 kB / 1.244 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.5488, allocations: 31.97 kB / 1.244 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.5507, allocations: 1.548 MB / 1.246 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5507, allocations: 0 / 1.246 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.5529, allocations: 1.055 MB / 1.247 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.5533, allocations: 279.7 kB / 1.247 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.5535, allocations: 23.94 kB / 1.247 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.5543, allocations: 63.92 kB / 1.247 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5545, allocations: 80.89 kB / 1.247 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.5546, allocations: 35.97 kB / 1.247 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006487/0.5552, allocations: 467 kB / 1.247 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5552, allocations: 0 / 1.247 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001037/0.5563, allocations: 335.2 kB / 1.248 GB, free: 0.8594 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001547/0.5578, allocations: 0.6046 MB / 1.248 GB, free: 436 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.532/1.09, allocations: 0.8627 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.09, allocations: 0.625 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.091, allocations: 0.5429 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.093, allocations: 280.3 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/1.096, allocations: 2.137 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/1.097, allocations: 1.04 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009861/1.098, allocations: 267.9 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.098, allocations: 111.2 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.392e-06/1.098, allocations: 3.938 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02811/1.126, allocations: 14.93 MB / 1.268 GB, free: 180 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)