Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001441/0.001442, 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.001731/0.001731, allocations: 193.5 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.25 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006322/0.3036, allocations: 4.955 MB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.4697, allocations: 148.4 MB / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.4708, allocations: 19.88 kB / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.4718, allocations: 150.8 kB / 1.218 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.4743, allocations: 0.4968 MB / 1.218 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.4766, allocations: 0.7549 MB / 1.219 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.4787, allocations: 1.429 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.4798, allocations: 0.5872 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.481, allocations: 0.4983 MB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.4821, allocations: 0.5269 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.4826, allocations: 120 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.484, allocations: 459.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.4846, allocations: 314.9 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.4855, allocations: 0.5674 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.4878, allocations: 1.628 MB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4878, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4878, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.4878, allocations: 0 / 1.225 GB, free: 9.305 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.00327/0.4911, allocations: 1.464 MB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4911, allocations: 8.031 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.4921, allocations: 187.4 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.4933, allocations: 0.7546 MB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.4934, allocations: 73.98 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4935, allocations: 84 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.4952, allocations: 0.9495 MB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.4952, allocations: 3.938 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.4953, allocations: 36 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4954, allocations: 20 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.4973, allocations: 1.128 MB / 1.229 GB, free: 4.469 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.004429/0.5017, allocations: 2.767 MB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5034, allocations: 0.9082 MB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.504, allocations: 318.7 kB / 1.233 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.961e-05/0.5041, allocations: 36.67 kB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5052, allocations: 0.5119 MB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.495e-06/0.5052, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003483/0.5087, allocations: 1.259 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5088, allocations: 204.9 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.5096, allocations: 0.641 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.5097, allocations: 41.7 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.51, allocations: 400.4 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.5103, allocations: 276 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.5106, allocations: 170.5 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5107, allocations: 386.8 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.5113, allocations: 281.8 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.512, allocations: 383.9 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5132, allocations: 0.6329 MB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5132, allocations: 3.938 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002063/0.5153, allocations: 0.8878 MB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5153, allocations: 7.938 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5153, allocations: 0 / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.516, allocations: 84.89 kB / 1.239 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.5167, allocations: 171.7 kB / 1.239 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.519, allocations: 1.623 MB / 1.241 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.5199, allocations: 104.6 kB / 1.241 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.52, allocations: 39.97 kB / 1.241 GB, free: 7.918 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.0004894/0.5205, allocations: 287.8 kB / 1.241 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5207, allocations: 82.97 kB / 1.242 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.5233, allocations: 1.144 MB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5234, allocations: 12 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5234, allocations: 0 / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5234, allocations: 7.969 kB / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.5269, allocations: 2.017 MB / 1.245 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5269, allocations: 0 / 1.245 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.5276, allocations: 159.8 kB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.528, allocations: 68.8 kB / 1.245 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.5281, allocations: 27.97 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.5301, allocations: 1.666 MB / 1.247 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5302, allocations: 0 / 1.247 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.5324, allocations: 1.051 MB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.5328, allocations: 279.7 kB / 1.248 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5329, allocations: 24.05 kB / 1.248 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.5337, allocations: 75.83 kB / 1.248 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.5338, allocations: 76.89 kB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.5339, allocations: 35.98 kB / 1.248 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005774/0.5345, allocations: 463 kB / 1.248 GB, free: 216 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5345, allocations: 0 / 1.248 GB, free: 216 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.6332/1.168, allocations: 335.9 kB / 1.249 GB, free: 183.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.001596/1.169, allocations: 0.6049 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002953/1.172, allocations: 1.09 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.172, allocations: 0.9688 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.173, allocations: 0.5395 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.175, allocations: 306.9 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/1.178, allocations: 2.136 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/1.179, allocations: 1.041 MB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009661/1.18, allocations: 271.6 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/1.18, allocations: 112.7 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.18, allocations: 0 / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02857/1.209, allocations: 15.49 MB / 1.27 GB, free: 179.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)