Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 91.3 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.005755/0.005755, allocations: 171.4 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 9.062 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005688/0.3354, allocations: 4.586 MB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.5048, allocations: 146.8 MB / 1.222 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.506, allocations: 15.94 kB / 1.222 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.5067, allocations: 158.8 kB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.5083, allocations: 481.4 kB / 1.223 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.5101, allocations: 0.7666 MB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.5115, allocations: 1.362 MB / 1.225 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008545/0.5124, allocations: 0.5707 MB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.5131, allocations: 378.2 kB / 1.226 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.5137, allocations: 425.8 kB / 1.226 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.5138, allocations: 32 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009456/0.5148, allocations: 387.6 kB / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.5151, allocations: 207 kB / 1.227 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.5156, allocations: 0.4909 MB / 1.227 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.5171, allocations: 1.577 MB / 1.229 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5171, allocations: 0 / 1.229 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5171, allocations: 0 / 1.229 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.5171, allocations: 0 / 1.229 GB, free: 8.656 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002328/0.5195, allocations: 1.277 MB / 1.23 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5195, allocations: 8.031 kB / 1.23 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.5204, allocations: 203.3 kB / 1.23 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/0.5214, allocations: 0.7663 MB / 1.231 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.5215, allocations: 66 kB / 1.231 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5216, allocations: 88 kB / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.5233, allocations: 0.9808 MB / 1.232 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5233, allocations: 0 / 1.232 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.5234, allocations: 47.92 kB / 1.232 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.5234, allocations: 20 kB / 1.232 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.5253, allocations: 1.167 MB / 1.233 GB, free: 3.906 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.004375/0.5297, allocations: 2.954 MB / 1.236 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.5318, allocations: 0.9823 MB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.5324, allocations: 334.7 kB / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.5325, allocations: 32.69 kB / 1.237 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.5335, allocations: 0.5451 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.5335, allocations: 4 kB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003265/0.5367, allocations: 1.313 MB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.5369, allocations: 188.9 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.5377, allocations: 0.6528 MB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.5378, allocations: 41.7 kB / 1.24 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.5381, allocations: 404.5 kB / 1.24 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5383, allocations: 287.9 kB / 1.241 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5385, allocations: 77.67 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5386, allocations: 390.8 kB / 1.241 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.5392, allocations: 297.8 kB / 1.241 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/0.5399, allocations: 395.1 kB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5411, allocations: 0.6593 MB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5411, allocations: 0 / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002067/0.5431, allocations: 0.9229 MB / 1.243 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.5432, allocations: 8 kB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5432, allocations: 0 / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.5438, allocations: 84.83 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.5446, allocations: 183.7 kB / 1.244 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.5466, allocations: 1.529 MB / 1.245 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.5475, allocations: 123.9 kB / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.5476, allocations: 39.97 kB / 1.245 GB, free: 7.07 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0004518/0.548, allocations: 279.8 kB / 1.246 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5482, allocations: 82.97 kB / 1.246 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.5508, allocations: 1.199 MB / 1.247 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5508, allocations: 19.94 kB / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5508, allocations: 0 / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.5508, allocations: 3.984 kB / 1.247 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.5543, allocations: 2.098 MB / 1.249 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.5544, allocations: 4 kB / 1.249 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.555, allocations: 167.8 kB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/0.5555, allocations: 84.77 kB / 1.249 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.5556, allocations: 31.97 kB / 1.249 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.5574, allocations: 1.555 MB / 1.251 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5575, allocations: 3.938 kB / 1.251 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.5596, allocations: 1.098 MB / 1.252 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5603/1.12, allocations: 297.4 kB / 1.252 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/1.12, allocations: 19.97 kB / 1.252 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.121, allocations: 90.72 kB / 1.252 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/1.121, allocations: 87.14 kB / 1.252 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.122, allocations: 40.97 kB / 1.252 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008609/1.122, allocations: 470.3 kB / 1.253 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/1.122, allocations: 0 / 1.253 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001294/1.124, allocations: 352.6 kB / 1.253 GB, free: 180.5 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 (106): * Single equations (assignments): 99 * 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.001625/1.125, allocations: 0.6262 MB / 1.254 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.128, allocations: 0.9064 MB / 1.255 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.128, allocations: 4.312 kB / 1.255 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.129, allocations: 0.5695 MB / 1.255 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.13, allocations: 271.4 kB / 1.255 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/1.134, allocations: 2.224 MB / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/1.135, allocations: 1.056 MB / 1.259 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001118/1.136, allocations: 271 kB / 1.259 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.136, allocations: 120.1 kB / 1.259 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.136, allocations: 0 / 1.259 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03306/1.169, allocations: 15.31 MB / 1.274 GB, free: 176.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)