Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 198 kB / 16.54 MB, free: 6.672 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 65.08 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3148, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006395/0.3212, allocations: 4.945 MB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.4784, allocations: 150.6 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.4799, allocations: 19.94 kB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.4811, allocations: 194.1 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.4839, allocations: 0.5549 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.4866, allocations: 0.8409 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.4888, allocations: 1.429 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.49, allocations: 0.5912 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4911, allocations: 0.4944 MB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.492, allocations: 0.5134 MB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.4923, allocations: 120 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4935, allocations: 467.6 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.4939, allocations: 299 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.4945, allocations: 0.5791 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.4965, allocations: 1.624 MB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4965, allocations: 0 / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4965, allocations: 0 / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.4965, allocations: 0 / 1.228 GB, free: 6.492 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002527/0.499, allocations: 1.468 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4991, allocations: 8.031 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.5, allocations: 191.4 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.501, allocations: 0.7584 MB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.5011, allocations: 66 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5012, allocations: 84 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5027, allocations: 0.9456 MB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5028, allocations: 3.938 kB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.5029, allocations: 40 kB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.5029, allocations: 24 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.5047, allocations: 1.128 MB / 1.232 GB, free: 1.648 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.004137/0.5088, allocations: 2.755 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.5104, allocations: 0.9199 MB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.5109, allocations: 314.7 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.953e-05/0.511, allocations: 40.67 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009059/0.5119, allocations: 0.5147 MB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.344e-06/0.5119, allocations: 0 / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003284/0.5152, allocations: 1.259 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5153, allocations: 188.9 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008039/0.5161, allocations: 0.641 MB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.5162, allocations: 45.7 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.5165, allocations: 404.4 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.5168, allocations: 280 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.517, allocations: 166.5 kB / 1.24 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5172, allocations: 390.7 kB / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.5177, allocations: 277.8 kB / 1.24 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.5184, allocations: 384 kB / 1.241 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5195, allocations: 0.6368 MB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5195, allocations: 0 / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001963/0.5215, allocations: 0.8839 MB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5215, allocations: 11.88 kB / 1.242 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5216, allocations: 4 kB / 1.242 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.5222, allocations: 84.83 kB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.5229, allocations: 171.8 kB / 1.242 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.5249, allocations: 1.629 MB / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.5257, allocations: 107.3 kB / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.5258, allocations: 39.97 kB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004368/0.5262, allocations: 272.2 kB / 1.244 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.5264, allocations: 90.95 kB / 1.244 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.5289, allocations: 1.148 MB / 1.245 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5289, allocations: 8 kB / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5289, allocations: 4 kB / 1.246 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5289, allocations: 3.984 kB / 1.246 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.5322, allocations: 2.017 MB / 1.247 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5322, allocations: 0 / 1.247 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.5329, allocations: 155.8 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.5333, allocations: 72.78 kB / 1.248 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.5334, allocations: 31.91 kB / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6871/1.221, allocations: 1.654 MB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.221, allocations: 5.531 kB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/1.223, allocations: 1.046 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/1.224, allocations: 277.5 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.224, allocations: 25.53 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/1.225, allocations: 68.53 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.225, allocations: 75.73 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/1.225, allocations: 38.92 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000685/1.226, allocations: 468.4 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.226, allocations: 0 / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001126/1.227, allocations: 335.2 kB / 1.252 GB, free: 182.4 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 (100): * Single equations (assignments): 93 * 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.001436/1.228, allocations: 0.6054 MB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002868/1.231, allocations: 1.091 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.231, allocations: 4.688 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.232, allocations: 0.5357 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.234, allocations: 310.6 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.237, allocations: 1.722 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/1.237, allocations: 1.043 MB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008822/1.238, allocations: 265.7 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.238, allocations: 111.9 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.239, allocations: 4 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03281/1.271, allocations: 15.6 MB / 1.272 GB, free: 178.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)