Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, 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.001096/0.001096, allocations: 197.9 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 59.22 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006689/0.2876, allocations: 4.819 MB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1594/0.4469, allocations: 148.3 MB / 1.217 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008936/0.4479, allocations: 11.94 kB / 1.217 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.4486, allocations: 154.8 kB / 1.217 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.4501, allocations: 469.3 kB / 1.218 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4522, allocations: 0.7212 MB / 1.218 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.4538, allocations: 1.288 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009102/0.4547, allocations: 0.5749 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.4554, allocations: 422.3 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.456, allocations: 469.8 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.4561, allocations: 56 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008407/0.457, allocations: 399.7 kB / 1.221 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.4572, allocations: 243 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.4577, allocations: 0.5011 MB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4593, allocations: 1.546 MB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4593, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4593, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.4593, allocations: 0 / 1.224 GB, free: 10.39 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002604/0.4619, allocations: 1.42 MB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.462, allocations: 12.03 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009379/0.4629, allocations: 183.4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.464, allocations: 0.7383 MB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.464, allocations: 66 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4641, allocations: 79.98 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4657, allocations: 0.9184 MB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4657, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.4658, allocations: 40 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4659, allocations: 20 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.4676, allocations: 1.112 MB / 1.228 GB, free: 5.676 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.00397/0.4716, allocations: 2.732 MB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.4732, allocations: 0.888 MB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.4737, allocations: 302.7 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.4738, allocations: 36.55 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.4748, allocations: 499 kB / 1.232 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.046e-06/0.4748, allocations: 4 kB / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003229/0.478, allocations: 1.186 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4781, allocations: 200.6 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/0.479, allocations: 0.6253 MB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.479, allocations: 37.7 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.4793, allocations: 388.4 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.4796, allocations: 260.2 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.4798, allocations: 162.5 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.48, allocations: 390.7 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.4805, allocations: 269.9 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.4811, allocations: 359.1 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4822, allocations: 0.6072 MB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4823, allocations: 0 / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002022/0.4843, allocations: 0.8527 MB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4843, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4843, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.485, allocations: 84.81 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.4857, allocations: 159.8 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.4878, allocations: 1.532 MB / 1.239 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.4885, allocations: 91.31 kB / 1.239 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.4886, allocations: 39.97 kB / 1.24 GB, free: 9.578 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.0004287/0.489, allocations: 270.5 kB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.4892, allocations: 86.84 kB / 1.24 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.4916, allocations: 1.062 MB / 1.241 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4916, allocations: 11.98 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4916, allocations: 0 / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4917, allocations: 7.984 kB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.4949, allocations: 1.95 MB / 1.243 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4949, allocations: 3.984 kB / 1.243 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.4955, allocations: 135.8 kB / 1.243 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/0.4961, allocations: 88.77 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.4961, allocations: 23.98 kB / 1.243 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.498, allocations: 1.583 MB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.498, allocations: 0 / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5, allocations: 0.9921 MB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.5005, allocations: 267.8 kB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5006, allocations: 20 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.5013, allocations: 77.73 kB / 1.246 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.5015, allocations: 64.91 kB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.5016, allocations: 35.97 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006277/0.5022, allocations: 451 kB / 1.246 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5022, allocations: 0 / 1.246 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009922/0.5032, allocations: 327.3 kB / 1.247 GB, free: 1.895 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.001376/0.5046, allocations: 0.5961 MB / 1.247 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.5063, allocations: 0.8313 MB / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5063, allocations: 0 / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.5072, allocations: 0.512 MB / 1.249 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.503/1.01, allocations: 265.8 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/1.014, allocations: 2.054 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/1.014, allocations: 1.017 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00099/1.015, allocations: 258.2 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/1.016, allocations: 104.6 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.016, allocations: 0 / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02907/1.045, allocations: 14.54 MB / 1.266 GB, free: 180.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)