Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.002022/0.002022, allocations: 186 kB / 16.25 MB, free: 6.137 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.22 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006934/0.3307, allocations: 5.015 MB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.4974, allocations: 148.5 MB / 1.218 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.4984, allocations: 15.94 kB / 1.218 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.4993, allocations: 162.7 kB / 1.218 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.5014, allocations: 0.4933 MB / 1.218 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.5036, allocations: 0.7901 MB / 1.219 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5055, allocations: 1.464 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.5065, allocations: 0.5984 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008331/0.5074, allocations: 0.5139 MB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007907/0.5082, allocations: 0.5407 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.5084, allocations: 124 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.5094, allocations: 483.6 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.5097, allocations: 315 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.5104, allocations: 0.5946 MB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.5124, allocations: 1.679 MB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5124, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5124, allocations: 4 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.5124, allocations: 0 / 1.225 GB, free: 8.918 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002815/0.5153, allocations: 1.499 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5153, allocations: 12.03 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/0.5163, allocations: 187.4 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5173, allocations: 0.7662 MB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.5174, allocations: 66 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5175, allocations: 84 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5192, allocations: 0.9807 MB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.5192, allocations: 3.938 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.5193, allocations: 40 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5193, allocations: 20 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.5212, allocations: 1.159 MB / 1.23 GB, free: 3.973 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.004218/0.5254, allocations: 2.915 MB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.5275, allocations: 0.981 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.5281, allocations: 329 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/0.5282, allocations: 36.61 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5293, allocations: 0.5373 MB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.916e-06/0.5293, allocations: 0 / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003466/0.5328, allocations: 1.298 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.5329, allocations: 188.9 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009343/0.5338, allocations: 0.6529 MB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.5339, allocations: 41.7 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.5343, allocations: 412.4 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.5346, allocations: 280 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.5349, allocations: 182.4 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.5351, allocations: 394.7 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.5357, allocations: 289.8 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.5365, allocations: 391.1 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.5377, allocations: 0.6516 MB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5377, allocations: 0 / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002154/0.5398, allocations: 0.9191 MB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5399, allocations: 4 kB / 1.24 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5399, allocations: 8 kB / 1.24 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.5405, allocations: 80.84 kB / 1.24 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.5413, allocations: 183.7 kB / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.5435, allocations: 1.634 MB / 1.242 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.5444, allocations: 103.3 kB / 1.242 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.5445, allocations: 39.97 kB / 1.242 GB, free: 7.023 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0004718/0.545, allocations: 284 kB / 1.242 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.5452, allocations: 82.97 kB / 1.242 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.548, allocations: 1.195 MB / 1.244 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.548, allocations: 8 kB / 1.244 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.548, allocations: 4 kB / 1.244 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.548, allocations: 3.984 kB / 1.244 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.5516, allocations: 2.098 MB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5516, allocations: 4 kB / 1.246 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.5523, allocations: 163.8 kB / 1.246 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.5528, allocations: 72.78 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.5529, allocations: 31.98 kB / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.5549, allocations: 1.666 MB / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5549, allocations: 0 / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.5571, allocations: 1.09 MB / 1.249 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5913/1.148, allocations: 284.1 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.149, allocations: 20.88 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/1.15, allocations: 74.75 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.15, allocations: 85.8 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.581e-05/1.15, allocations: 41.3 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000749/1.151, allocations: 471.2 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.151, allocations: 3.906 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001092/1.152, allocations: 348 kB / 1.25 GB, free: 183.4 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 (106): * Single equations (assignments): 99 * 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.001436/1.153, allocations: 0.6255 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002981/1.156, allocations: 1.139 MB / 1.252 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.156, allocations: 7.203 kB / 1.252 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.157, allocations: 0.5663 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.159, allocations: 304.2 kB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.162, allocations: 2.205 MB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.163, allocations: 1.046 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001006/1.164, allocations: 279.5 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.164, allocations: 125.1 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.164, allocations: 0 / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03352/1.198, allocations: 15.98 MB / 1.272 GB, free: 178.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)