Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008001/0.008001, allocations: 170 kB / 16.26 MB, free: 6.613 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004652, allocations: 7.438 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3797, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006728/0.3864, allocations: 4.5 MB / 1.079 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.5575, allocations: 146.7 MB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.5585, allocations: 19.88 kB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.5591, allocations: 146.8 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5607, allocations: 487.4 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.5626, allocations: 0.7424 MB / 1.223 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.5642, allocations: 1.323 MB / 1.224 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.565, allocations: 0.5516 MB / 1.225 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.5656, allocations: 366.3 kB / 1.225 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.5661, allocations: 409.8 kB / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.5662, allocations: 28 kB / 1.226 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.5671, allocations: 363.7 kB / 1.226 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.5673, allocations: 199 kB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.5678, allocations: 486.8 kB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.5694, allocations: 1.518 MB / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5694, allocations: 0 / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.679e-06/0.5694, allocations: 0 / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.5695, allocations: 3.938 kB / 1.228 GB, free: 9.141 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002407/0.5719, allocations: 1.245 MB / 1.229 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5719, allocations: 8.031 kB / 1.229 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5729, allocations: 207.3 kB / 1.23 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5741, allocations: 0.7585 MB / 1.23 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.5742, allocations: 66 kB / 1.23 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5743, allocations: 84 kB / 1.231 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.576, allocations: 0.9418 MB / 1.231 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.5761, allocations: 3.938 kB / 1.231 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.5762, allocations: 39.98 kB / 1.232 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.5762, allocations: 24 kB / 1.232 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.578, allocations: 1.128 MB / 1.233 GB, free: 4.508 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.004206/0.5822, allocations: 2.788 MB / 1.235 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5838, allocations: 0.912 MB / 1.236 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.5843, allocations: 321.6 kB / 1.237 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.5844, allocations: 36.67 kB / 1.237 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009476/0.5854, allocations: 0.5236 MB / 1.237 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.5854, allocations: 4 kB / 1.237 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003276/0.5887, allocations: 1.267 MB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5888, allocations: 192.9 kB / 1.239 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.5897, allocations: 0.6449 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.5897, allocations: 45.64 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.5901, allocations: 396.4 kB / 1.24 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.5903, allocations: 272.1 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5904, allocations: 69.67 kB / 1.24 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5906, allocations: 390.8 kB / 1.24 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.5912, allocations: 281.8 kB / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.5918, allocations: 375.1 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.5929, allocations: 0.6359 MB / 1.242 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.593, allocations: 0 / 1.242 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001954/0.5949, allocations: 0.884 MB / 1.242 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.595, allocations: 4 kB / 1.242 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.595, allocations: 11.88 kB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.5956, allocations: 84.86 kB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.5963, allocations: 167.8 kB / 1.243 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.5985, allocations: 1.525 MB / 1.244 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.5994, allocations: 118.1 kB / 1.244 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.5995, allocations: 39.97 kB / 1.244 GB, free: 8.129 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: 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 (99): * Single equations (assignments): 98 * 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.0004879/0.6, allocations: 276.4 kB / 1.245 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6001, allocations: 83.03 kB / 1.245 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.6027, allocations: 1.152 MB / 1.246 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6027, allocations: 8 kB / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6027, allocations: 0 / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6027, allocations: 11.91 kB / 1.246 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.6061, allocations: 2.012 MB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6061, allocations: 0 / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.6067, allocations: 159.8 kB / 1.248 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.6072, allocations: 84.78 kB / 1.248 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.6073, allocations: 27.97 kB / 1.248 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6091, allocations: 1.547 MB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6091, allocations: 0 / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.6112, allocations: 1.055 MB / 1.251 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.6116, allocations: 299.6 kB / 1.251 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6118, allocations: 23.94 kB / 1.251 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.6125, allocations: 87.86 kB / 1.251 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.6127, allocations: 81.03 kB / 1.251 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.6128, allocations: 35.97 kB / 1.251 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006006/0.6134, allocations: 463 kB / 1.251 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6134, allocations: 4 kB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009631/0.6144, allocations: 339.1 kB / 1.252 GB, free: 164 kB / 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 (99): * Single equations (assignments): 92 * 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.6302/1.245, allocations: 0.5948 MB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.247, allocations: 0.8702 MB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.247, allocations: 4.719 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.248, allocations: 0.5433 MB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.25, allocations: 270.2 kB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/1.254, allocations: 2.145 MB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/1.255, allocations: 1.04 MB / 1.257 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001106/1.256, allocations: 271.6 kB / 1.257 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/1.256, allocations: 108.6 kB / 1.258 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.256, allocations: 7.734 kB / 1.258 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03369/1.29, allocations: 14.82 MB / 1.272 GB, free: 177.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)