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.001169/0.001169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001376/0.001376, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.17 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006286/0.3467, allocations: 4.831 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.5041, allocations: 148.4 MB / 1.217 GB, free: 1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.5057, allocations: 15.94 kB / 1.217 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.507, allocations: 150.8 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.5095, allocations: 481.5 kB / 1.218 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.5117, allocations: 0.7501 MB / 1.219 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5135, allocations: 1.37 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.5146, allocations: 0.5947 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/0.5155, allocations: 490.3 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.5161, allocations: 0.4978 MB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.5163, allocations: 120 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/0.5172, allocations: 459.7 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5175, allocations: 295 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004773/0.5179, allocations: 0.5597 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5196, allocations: 1.597 MB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5196, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5196, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.5197, allocations: 3.984 kB / 1.224 GB, free: 9.625 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.002389/0.5221, allocations: 1.422 MB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5221, allocations: 16.03 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.523, allocations: 179.4 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5241, allocations: 0.7383 MB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.5241, allocations: 66 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.5242, allocations: 76 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5258, allocations: 0.9262 MB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5258, allocations: 4 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.5259, allocations: 32 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.526, allocations: 20 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.5277, allocations: 1.112 MB / 1.229 GB, free: 4.902 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.004144/0.5319, allocations: 2.736 MB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5335, allocations: 0.8919 MB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.534, allocations: 314.6 kB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.394e-05/0.5341, allocations: 28.61 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.5351, allocations: 499.1 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.485e-06/0.5351, allocations: 0 / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003212/0.5383, allocations: 1.19 MB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5384, allocations: 188.6 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.5392, allocations: 0.6253 MB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.5393, allocations: 45.7 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.5396, allocations: 384.4 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5398, allocations: 260.3 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.54, allocations: 158.5 kB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5402, allocations: 390.7 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.5407, allocations: 269.8 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.5414, allocations: 359.1 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5425, allocations: 0.6111 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5425, allocations: 0 / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001962/0.5445, allocations: 0.8449 MB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5445, allocations: 4 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5445, allocations: 3.984 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.5451, allocations: 84.81 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.5458, allocations: 163.8 kB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.5479, allocations: 1.642 MB / 1.24 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.5487, allocations: 91.31 kB / 1.24 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.5488, allocations: 43.91 kB / 1.24 GB, free: 8.684 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.0004597/0.5492, allocations: 263.4 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.5494, allocations: 86.97 kB / 1.241 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.5518, allocations: 1.062 MB / 1.242 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5518, allocations: 12 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5518, allocations: 3.938 kB / 1.242 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5518, allocations: 3.984 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.5551, allocations: 1.958 MB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5551, allocations: 0 / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.556, allocations: 147.7 kB / 1.244 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.5565, allocations: 72.73 kB / 1.244 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.5566, allocations: 27.97 kB / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.5585, allocations: 1.677 MB / 1.246 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5585, allocations: 0 / 1.246 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.5605, allocations: 0.9921 MB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.5608, allocations: 271.7 kB / 1.247 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.561, allocations: 24.06 kB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.5617, allocations: 68.62 kB / 1.247 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.5618, allocations: 64.91 kB / 1.247 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.5619, allocations: 35.98 kB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005415/0.5624, allocations: 455 kB / 1.247 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5624, allocations: 4 kB / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008293/0.5633, allocations: 319.2 kB / 1.248 GB, free: 0.8984 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.001299/0.5646, allocations: 0.6011 MB / 1.248 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.525/1.09, allocations: 1.023 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.09, allocations: 1.625 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.091, allocations: 0.5104 MB / 1.25 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.001581/1.092, allocations: 300.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.003199/1.096, allocations: 2.05 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/1.096, allocations: 1.02 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009079/1.097, allocations: 259.9 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/1.097, allocations: 103.3 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.098, allocations: 1.094 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03376/1.131, allocations: 15.08 MB / 1.268 GB, free: 180 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)