Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 120.1 kB / 0.9329 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 48.7 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3757, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005593/0.3814, allocations: 4.209 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.5506, allocations: 148.3 MB / 1.367 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.5519, allocations: 15.88 kB / 1.367 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.5529, allocations: 127 kB / 1.367 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.5552, allocations: 419.2 kB / 1.368 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5577, allocations: 0.7154 MB / 1.368 GB, free: 11 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.5593, allocations: 1.156 MB / 1.369 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.5603, allocations: 0.6136 MB / 1.37 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.5609, allocations: 398.3 kB / 1.37 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.5615, allocations: 437.9 kB / 1.371 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.5616, allocations: 52 kB / 1.371 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5627, allocations: 423.6 kB / 1.371 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.563, allocations: 219.1 kB / 1.371 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.5635, allocations: 477.2 kB / 1.372 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.5652, allocations: 1.453 MB / 1.373 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.5653, allocations: 4 kB / 1.373 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5653, allocations: 0 / 1.373 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.5653, allocations: 0 / 1.373 GB, free: 5.773 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002634/0.5679, allocations: 1.362 MB / 1.375 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.568, allocations: 11.98 kB / 1.375 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/0.569, allocations: 179.5 kB / 1.375 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5701, allocations: 0.7149 MB / 1.376 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.5702, allocations: 65.98 kB / 1.376 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5703, allocations: 80 kB / 1.376 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.5718, allocations: 0.895 MB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.5719, allocations: 0 / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.572, allocations: 36 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.572, allocations: 20 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5737, allocations: 1.1 MB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.5781, allocations: 2.535 MB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.5799, allocations: 0.8656 MB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.5804, allocations: 294.6 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.5805, allocations: 32.62 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.5815, allocations: 451.2 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.247e-06/0.5815, allocations: 0 / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.003099/0.5846, allocations: 1.112 MB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.5847, allocations: 192.6 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.5856, allocations: 0.6056 MB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.5856, allocations: 37.7 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.586, allocations: 380.4 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.5862, allocations: 252.3 kB / 1.384 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.5864, allocations: 158.5 kB / 1.384 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5866, allocations: 390.7 kB / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.5871, allocations: 249.9 kB / 1.385 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.5877, allocations: 335.1 kB / 1.385 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.5888, allocations: 0.5877 MB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5888, allocations: 0 / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00192/0.5907, allocations: 0.8098 MB / 1.387 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5908, allocations: 12.56 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5908, allocations: 0 / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.5914, allocations: 80.83 kB / 1.387 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.592, allocations: 159.7 kB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.5941, allocations: 1.508 MB / 1.388 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.5949, allocations: 83.23 kB / 1.388 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.595, allocations: 44.03 kB / 1.388 GB, free: 5.672 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0005149/0.5955, allocations: 254.7 kB / 1.389 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.5957, allocations: 83.12 kB / 1.389 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.598, allocations: 1.061 MB / 1.39 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.598, allocations: 8 kB / 1.39 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.598, allocations: 8 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5981, allocations: 3.984 kB / 1.39 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.6014, allocations: 1.928 MB / 1.392 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6014, allocations: 7.875 kB / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.602, allocations: 155.8 kB / 1.392 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.6025, allocations: 84.77 kB / 1.392 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.6026, allocations: 23.98 kB / 1.392 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6045, allocations: 1.544 MB / 1.394 GB, free: 288 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6045, allocations: 0 / 1.394 GB, free: 288 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.6075, allocations: 1.986 MB / 1.395 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.608, allocations: 263.7 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.6081, allocations: 20 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.6087, allocations: 64.03 kB / 1.396 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6089, allocations: 64.91 kB / 1.396 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.609, allocations: 28.05 kB / 1.396 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005614/0.6095, allocations: 439 kB / 1.396 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6095, allocations: 0 / 1.396 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001058/0.6106, allocations: 311.3 kB / 1.397 GB, free: 13.06 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001452/0.6121, allocations: 0.6216 MB / 1.397 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.6138, allocations: 0.7882 MB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6138, allocations: 4.188 kB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.6147, allocations: 0.5119 MB / 1.398 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6159, allocations: 253.5 kB / 1.399 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.6206, allocations: 2.584 MB / 1.401 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.6213, allocations: 1.039 MB / 1.402 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009212/0.6222, allocations: 258.2 kB / 1.403 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.6225, allocations: 107.3 kB / 1.403 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of SimCode: time 1.032e-06/0.6225, allocations: 7.938 kB / 1.403 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of Templates: time 0.02639/0.6489, allocations: 14.13 MB / 1.416 GB, free: 8.973 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)