Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001387/0.001387, allocations: 188 kB / 16.25 MB, free: 6.621 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.7 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3509, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007187/0.3581, allocations: 4.803 MB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.5291, allocations: 148.4 MB / 1.217 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009773/0.5302, allocations: 19.88 kB / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007992/0.531, allocations: 146.9 kB / 1.217 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.5331, allocations: 485.3 kB / 1.218 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.5352, allocations: 0.7353 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.5369, allocations: 1.362 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009873/0.5379, allocations: 0.5714 MB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.5388, allocations: 482.3 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.5395, allocations: 493.9 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.5398, allocations: 112 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.541, allocations: 459.6 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.5414, allocations: 295 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.5423, allocations: 0.5558 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.5448, allocations: 1.573 MB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5448, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5448, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.5449, allocations: 0 / 1.224 GB, free: 9.77 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002631/0.5475, allocations: 1.411 MB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5476, allocations: 12.03 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/0.5485, allocations: 179.4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.5495, allocations: 0.7267 MB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.5496, allocations: 69.88 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5497, allocations: 80 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5512, allocations: 0.9067 MB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5513, allocations: 0 / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.5514, allocations: 36 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5514, allocations: 24 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.5531, allocations: 1.089 MB / 1.229 GB, free: 5.105 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.003964/0.5571, allocations: 2.689 MB / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.5586, allocations: 0.8649 MB / 1.232 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/0.5591, allocations: 304.5 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/0.5592, allocations: 24.62 kB / 1.233 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.5602, allocations: 0.4913 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.5602, allocations: 0 / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003165/0.5634, allocations: 1.178 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.5635, allocations: 188.6 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.5642, allocations: 0.6214 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.5643, allocations: 45.62 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.5646, allocations: 388.4 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.5648, allocations: 256.3 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5651, allocations: 166.5 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.5653, allocations: 386.7 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.5658, allocations: 261.9 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.5664, allocations: 359.1 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.5676, allocations: 0.5994 MB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5676, allocations: 0 / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001963/0.5695, allocations: 0.841 MB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5696, allocations: 4 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5696, allocations: 3.938 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.5702, allocations: 80.88 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.5709, allocations: 159.8 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.573, allocations: 1.642 MB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.5738, allocations: 87.33 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5739, allocations: 39.97 kB / 1.24 GB, free: 9.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: 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.0004027/0.5743, allocations: 267.5 kB / 1.24 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.5744, allocations: 87.02 kB / 1.24 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.5769, allocations: 1.058 MB / 1.241 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5769, allocations: 8 kB / 1.241 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5769, allocations: 0 / 1.241 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5769, allocations: 7.922 kB / 1.241 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.5803, allocations: 1.899 MB / 1.243 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5803, allocations: 0 / 1.243 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.5809, allocations: 147.8 kB / 1.243 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.5814, allocations: 72.78 kB / 1.244 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.29e-05/0.5814, allocations: 23.98 kB / 1.244 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.5837, allocations: 1.67 MB / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5837, allocations: 0 / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.5861, allocations: 0.9881 MB / 1.246 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.5866, allocations: 263.8 kB / 1.246 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.5868, allocations: 16 kB / 1.246 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.5875, allocations: 67.92 kB / 1.246 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.5877, allocations: 64.91 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.5878, allocations: 39.97 kB / 1.247 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006947/0.5886, allocations: 447 kB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5886, allocations: 3.938 kB / 1.247 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001112/0.5897, allocations: 327.2 kB / 1.247 GB, free: 1.332 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.001925/0.5916, allocations: 0.5989 MB / 1.248 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4935/1.085, allocations: 1.014 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.085, allocations: 0.5 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.086, allocations: 0.5113 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.088, allocations: 308.6 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.091, allocations: 2.029 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/1.092, allocations: 1.02 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009045/1.093, allocations: 258.5 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.093, allocations: 110.9 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.093, allocations: 0 / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02649/1.119, allocations: 14.83 MB / 1.268 GB, free: 180.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)