Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, 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.001924/0.001925, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.42 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00674/0.3369, allocations: 4.781 MB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1682/0.5051, allocations: 150.6 MB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.5059, allocations: 19.88 kB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.5065, allocations: 182.3 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.5085, allocations: 0.5349 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5106, allocations: 0.8276 MB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.5123, allocations: 1.351 MB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008979/0.5132, allocations: 0.5714 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.514, allocations: 478.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.5146, allocations: 0.4979 MB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.5148, allocations: 112 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.5157, allocations: 459.6 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.516, allocations: 291 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.5166, allocations: 0.5441 MB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.5186, allocations: 1.569 MB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5186, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5186, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.5186, allocations: 0 / 1.227 GB, free: 6.984 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002538/0.5212, allocations: 1.414 MB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5212, allocations: 8.031 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/0.5222, allocations: 187.4 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.5233, allocations: 0.7345 MB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.5234, allocations: 58 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5235, allocations: 83.98 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5251, allocations: 0.9027 MB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5252, allocations: 0 / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.5253, allocations: 36 kB / 1.23 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.5253, allocations: 24 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.5271, allocations: 1.089 MB / 1.232 GB, free: 2.32 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.004654/0.5318, allocations: 2.685 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5334, allocations: 0.861 MB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.5339, allocations: 298.7 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.534, allocations: 44.53 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.5349, allocations: 483.1 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 3.637e-06/0.5349, allocations: 4 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.003178/0.5381, allocations: 1.178 MB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.5382, allocations: 188.6 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/0.539, allocations: 0.6292 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.5391, allocations: 41.7 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5394, allocations: 392.4 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.5397, allocations: 252.3 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.5399, allocations: 162.5 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.5402, allocations: 390.6 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.5407, allocations: 261.9 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.5413, allocations: 363.1 kB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5425, allocations: 0.6033 MB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5425, allocations: 3.938 kB / 1.24 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001962/0.5444, allocations: 0.8371 MB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5445, allocations: 4 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.5445, allocations: 0 / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.5451, allocations: 88.8 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.5457, allocations: 159.8 kB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.5479, allocations: 1.625 MB / 1.243 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.5488, allocations: 99.41 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.5489, allocations: 35.97 kB / 1.243 GB, free: 6.238 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.0004749/0.5494, allocations: 268 kB / 1.243 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5495, allocations: 82.97 kB / 1.243 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.5519, allocations: 1.058 MB / 1.244 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5519, allocations: 8 kB / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5519, allocations: 0 / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5519, allocations: 7.922 kB / 1.244 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.5551, allocations: 1.899 MB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5551, allocations: 4 kB / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.5557, allocations: 147.7 kB / 1.246 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.5562, allocations: 64.8 kB / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5562, allocations: 31.97 kB / 1.246 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.5581, allocations: 1.662 MB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5582, allocations: 3.984 kB / 1.248 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5076/1.066, allocations: 0.9746 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.066, allocations: 264.8 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.066, allocations: 20.95 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/1.067, allocations: 63.58 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.067, allocations: 69.91 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/1.067, allocations: 35.14 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005914/1.068, allocations: 448.7 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.068, allocations: 1.75 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008833/1.069, allocations: 320.5 kB / 1.25 GB, free: 183.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: 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.001336/1.07, allocations: 0.6066 MB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.073, allocations: 1.021 MB / 1.252 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.073, allocations: 0.8438 kB / 1.252 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/1.074, allocations: 0.5074 MB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.075, allocations: 306 kB / 1.252 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/1.078, allocations: 1.635 MB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/1.078, allocations: 1.019 MB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008646/1.079, allocations: 266.2 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.079, allocations: 103.3 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.079, allocations: 0.7188 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02745/1.107, allocations: 14.94 MB / 1.27 GB, free: 179.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)