Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, 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.001231/0.001232, allocations: 192.1 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.36 kB / 0.912 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006492/0.3224, allocations: 4.805 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.4838, allocations: 150.6 MB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.4853, allocations: 15.94 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.4861, allocations: 190.2 kB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.4879, allocations: 0.5414 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.49, allocations: 0.8242 MB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.4916, allocations: 1.374 MB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008452/0.4925, allocations: 0.6024 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/0.4931, allocations: 482.4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.4937, allocations: 0.4979 MB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.4939, allocations: 116 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.4948, allocations: 467.6 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.4951, allocations: 299.1 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.4956, allocations: 0.548 MB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.4975, allocations: 1.601 MB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4975, allocations: 4 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.836e-06/0.4975, allocations: 3.984 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.4975, allocations: 0 / 1.227 GB, free: 6.844 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002467/0.5, allocations: 1.41 MB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5001, allocations: 12.03 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.501, allocations: 191.4 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.502, allocations: 0.7344 MB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.502, allocations: 62 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5022, allocations: 80 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5037, allocations: 0.9223 MB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5037, allocations: 4 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.5038, allocations: 39.94 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.5038, allocations: 20 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5055, allocations: 1.108 MB / 1.232 GB, free: 2.133 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.003935/0.5095, allocations: 2.732 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.5111, allocations: 0.8954 MB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.5116, allocations: 306.6 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.5117, allocations: 28.61 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008394/0.5126, allocations: 0.4913 MB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/0.5126, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.00316/0.5158, allocations: 1.186 MB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.5159, allocations: 188.6 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.5166, allocations: 0.6253 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.5167, allocations: 41.7 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.517, allocations: 392.4 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.5172, allocations: 256.3 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5174, allocations: 158.5 kB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5176, allocations: 386.7 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.5182, allocations: 277.8 kB / 1.24 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.5188, allocations: 363 kB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5199, allocations: 0.615 MB / 1.24 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5199, allocations: 0 / 1.24 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001971/0.5219, allocations: 0.8371 MB / 1.241 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5219, allocations: 7.984 kB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.522, allocations: 4 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.5226, allocations: 84.81 kB / 1.241 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.5232, allocations: 163.7 kB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.5255, allocations: 1.644 MB / 1.243 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.5262, allocations: 95.31 kB / 1.243 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.5263, allocations: 31.98 kB / 1.243 GB, free: 5.926 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.0004524/0.5268, allocations: 271.8 kB / 1.244 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.5269, allocations: 86.91 kB / 1.244 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.5294, allocations: 1.054 MB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.5294, allocations: 12 kB / 1.245 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5294, allocations: 7.922 kB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.5294, allocations: 3.984 kB / 1.245 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.5326, allocations: 1.954 MB / 1.247 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5326, allocations: 0 / 1.247 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.5332, allocations: 143.8 kB / 1.247 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.5337, allocations: 80.77 kB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.5338, allocations: 19.98 kB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.5357, allocations: 1.681 MB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5357, allocations: 0 / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.491/1.027, allocations: 0.9891 MB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/1.027, allocations: 269 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.027, allocations: 23.44 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/1.028, allocations: 63.33 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.028, allocations: 67.58 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/1.028, allocations: 35.84 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006021/1.029, allocations: 456.4 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 1.312 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009065/1.03, allocations: 315.3 kB / 1.251 GB, free: 183.3 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.001363/1.031, allocations: 0.599 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.034, allocations: 1.035 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.034, allocations: 1 kB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009539/1.035, allocations: 0.5126 MB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.036, allocations: 308 kB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/1.039, allocations: 1.65 MB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/1.04, allocations: 1.02 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008523/1.04, allocations: 262.2 kB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/1.041, allocations: 106.1 kB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.041, allocations: 0 / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03163/1.072, allocations: 15.17 MB / 1.271 GB, free: 179.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)