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.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.699/2.699, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 62.56 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006668/0.2993, allocations: 4.942 MB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1485/0.4478, allocations: 150.6 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.4488, allocations: 15.94 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.4495, allocations: 186.2 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.4516, allocations: 0.5628 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.4538, allocations: 0.8435 MB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.4559, allocations: 1.429 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.4571, allocations: 0.595 MB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.4579, allocations: 498.3 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/0.4588, allocations: 0.5251 MB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.459, allocations: 116 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4601, allocations: 467.7 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.4604, allocations: 307 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.4612, allocations: 0.5713 MB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.4632, allocations: 1.628 MB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4632, allocations: 0 / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4632, allocations: 0 / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.4633, allocations: 0 / 1.228 GB, free: 6.504 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.002958/0.4662, allocations: 1.468 MB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4663, allocations: 12.03 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.4673, allocations: 183.4 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4684, allocations: 0.7585 MB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.4684, allocations: 66 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.4686, allocations: 88 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4702, allocations: 0.9456 MB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4702, allocations: 3.938 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4703, allocations: 39.98 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4703, allocations: 20 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.4721, allocations: 1.124 MB / 1.232 GB, free: 1.668 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.004196/0.4763, allocations: 2.755 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.478, allocations: 0.9121 MB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.4786, allocations: 318.7 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.4787, allocations: 36.67 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.4796, allocations: 0.5236 MB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.4796, allocations: 0 / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003341/0.4829, allocations: 1.251 MB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.4831, allocations: 196.9 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.4839, allocations: 0.641 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.484, allocations: 49.7 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.4843, allocations: 400.4 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.4845, allocations: 280 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.4848, allocations: 166.5 kB / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.485, allocations: 390.7 kB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.4855, allocations: 281.8 kB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.4862, allocations: 376 kB / 1.241 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.4874, allocations: 0.6368 MB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4874, allocations: 0 / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002037/0.4894, allocations: 0.8877 MB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4894, allocations: 11.94 kB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4895, allocations: 0 / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.4901, allocations: 84.89 kB / 1.242 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.4908, allocations: 171.7 kB / 1.242 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4929, allocations: 1.627 MB / 1.244 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.4938, allocations: 97.19 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.4939, allocations: 39.97 kB / 1.244 GB, free: 5.125 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.0004754/0.4944, allocations: 283.8 kB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.4946, allocations: 90.97 kB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.4971, allocations: 1.14 MB / 1.245 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4971, allocations: 12 kB / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4972, allocations: 0 / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4972, allocations: 7.969 kB / 1.245 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.5005, allocations: 2.013 MB / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5006, allocations: 0 / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.5012, allocations: 159.8 kB / 1.248 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.5016, allocations: 68.8 kB / 1.248 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.5017, allocations: 31.97 kB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5461/1.048, allocations: 1.657 MB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.048, allocations: 0.8438 kB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/1.05, allocations: 1.046 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/1.051, allocations: 283.3 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.051, allocations: 17.47 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.052, allocations: 70.61 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.052, allocations: 77.44 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/1.052, allocations: 39.14 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006016/1.052, allocations: 460.7 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.052, allocations: 1.844 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009225/1.053, allocations: 335.9 kB / 1.252 GB, free: 182.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 (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.001312/1.055, allocations: 0.6209 MB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002569/1.057, allocations: 1.095 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.057, allocations: 0.875 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/1.058, allocations: 0.5438 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.06, allocations: 300.2 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.062, allocations: 1.719 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/1.063, allocations: 1.043 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008096/1.064, allocations: 266.8 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.064, allocations: 111.5 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.064, allocations: 2.906 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02669/1.091, allocations: 15.61 MB / 1.272 GB, free: 178.1 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)