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.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001273/0.001273, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.66 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3145, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006632/0.3211, allocations: 5.015 MB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.4849, allocations: 148.4 MB / 1.217 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.4864, allocations: 19.88 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.4876, allocations: 154.8 kB / 1.218 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.4902, allocations: 493.1 kB / 1.218 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.4927, allocations: 0.7661 MB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.4948, allocations: 1.37 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.4961, allocations: 0.5863 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4971, allocations: 458.1 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008956/0.498, allocations: 0.5017 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.4983, allocations: 56 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.4994, allocations: 431.5 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.4998, allocations: 251 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008888/0.5007, allocations: 0.5244 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.503, allocations: 1.62 MB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.503, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.503, allocations: 11.94 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.558e-05/0.5031, allocations: 0 / 1.224 GB, free: 9.617 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.003582/0.5067, allocations: 1.502 MB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5067, allocations: 8.031 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.5078, allocations: 191.4 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.5091, allocations: 0.7623 MB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.5092, allocations: 66 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5093, allocations: 88 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.511, allocations: 0.9769 MB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5111, allocations: 0 / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.5112, allocations: 39.98 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.5112, allocations: 24 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5131, allocations: 1.159 MB / 1.229 GB, free: 4.672 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.004658/0.5177, allocations: 2.915 MB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.52, allocations: 0.984 MB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.5206, allocations: 318.7 kB / 1.233 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/0.5207, allocations: 36.59 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.5218, allocations: 0.5374 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.5218, allocations: 3.938 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003604/0.5254, allocations: 1.294 MB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5255, allocations: 200.9 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.5264, allocations: 0.649 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.5265, allocations: 45.7 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.527, allocations: 408.4 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.5273, allocations: 279.9 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.5277, allocations: 182.4 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.5279, allocations: 390.7 kB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.5286, allocations: 285.8 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.5293, allocations: 399.1 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5306, allocations: 0.6516 MB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5306, allocations: 0 / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002216/0.5329, allocations: 0.9151 MB / 1.239 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.5329, allocations: 11.98 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5329, allocations: 0 / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.5336, allocations: 80.84 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.5344, allocations: 175.8 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.5368, allocations: 1.532 MB / 1.241 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5378, allocations: 103.2 kB / 1.241 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.538, allocations: 43.95 kB / 1.241 GB, free: 7.84 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.0006373/0.5386, allocations: 275.9 kB / 1.241 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.5389, allocations: 86.97 kB / 1.241 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.542, allocations: 1.183 MB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.542, allocations: 15.94 kB / 1.243 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.542, allocations: 0 / 1.243 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.542, allocations: 15.95 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.5459, allocations: 2.09 MB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.546, allocations: 4 kB / 1.245 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.5467, allocations: 163.7 kB / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005795/0.5473, allocations: 88.7 kB / 1.245 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.5473, allocations: 31.98 kB / 1.245 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.5493, allocations: 1.551 MB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5493, allocations: 64 / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.5517, allocations: 1.09 MB / 1.248 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.5523, allocations: 283.6 kB / 1.248 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5525, allocations: 24 kB / 1.248 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.5534, allocations: 73.58 kB / 1.248 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.5536, allocations: 84.88 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.5537, allocations: 43.97 kB / 1.248 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006678/0.5544, allocations: 467 kB / 1.249 GB, free: 48 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5544, allocations: 0 / 1.249 GB, free: 48 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.6044/1.159, allocations: 342.5 kB / 1.249 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.001593/1.16, allocations: 0.6333 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.163, allocations: 0.9015 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.163, allocations: 0.875 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.164, allocations: 0.5633 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.165, allocations: 282.8 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/1.168, allocations: 2.196 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/1.169, allocations: 1.047 MB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009778/1.17, allocations: 282.9 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.17, allocations: 119.8 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.17, allocations: 0 / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02751/1.198, allocations: 15.4 MB / 1.27 GB, free: 179.2 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)