Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001807/0.001807, allocations: 193.9 kB / 16.14 MB, free: 6.664 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.7 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3173, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008445/0.3258, allocations: 6.893 MB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.4778, allocations: 149 MB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.4788, allocations: 15.94 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.4795, allocations: 202.3 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.4816, allocations: 0.6875 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.4835, allocations: 0.8626 MB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.4855, allocations: 2.004 MB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.4868, allocations: 0.9828 MB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.4878, allocations: 0.7392 MB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008531/0.4886, allocations: 0.8478 MB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.4888, allocations: 120 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.4897, allocations: 455.6 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.4901, allocations: 390.4 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/0.4909, allocations: 0.8626 MB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.4931, allocations: 2.434 MB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4931, allocations: 0 / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4931, allocations: 0 / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.4931, allocations: 0 / 1.23 GB, free: 3.848 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004105/0.4972, allocations: 2.058 MB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4973, allocations: 12.03 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4983, allocations: 266.6 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.4997, allocations: 0.9692 MB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.4998, allocations: 115.1 kB / 1.233 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.5, allocations: 152 kB / 1.234 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.5027, allocations: 1.58 MB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5027, allocations: 0 / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.5028, allocations: 64 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.5029, allocations: 36 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.5056, allocations: 1.643 MB / 1.237 GB, free: 12.79 MB / 0.9981 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.007132/0.5127, allocations: 4.575 MB / 1.241 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.5149, allocations: 1.188 MB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.5157, allocations: 479.7 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5159, allocations: 44.92 kB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.5173, allocations: 0.7745 MB / 1.244 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/0.5173, allocations: 3.938 kB / 1.244 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004495/0.5218, allocations: 1.842 MB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5219, allocations: 197.2 kB / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.5231, allocations: 0.8654 MB / 1.246 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5232, allocations: 53.7 kB / 1.247 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.5237, allocations: 0.6053 MB / 1.247 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.524, allocations: 414.2 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/0.5244, allocations: 258.6 kB / 1.248 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5246, allocations: 357.9 kB / 1.248 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.5255, allocations: 446.4 kB / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4892/1.015, allocations: 0.5604 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.017, allocations: 0.9864 MB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.017, allocations: 0 / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003086/1.02, allocations: 1.348 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.02, allocations: 5.656 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.02, allocations: 0.5312 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/1.021, allocations: 85.45 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.022, allocations: 264.9 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.024, allocations: 1.545 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.025, allocations: 158.9 kB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.025, allocations: 58.55 kB / 1.253 GB, free: 181.6 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.000705/1.026, allocations: 354 kB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.026, allocations: 127.3 kB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.031, allocations: 1.711 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.031, allocations: 13.81 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.031, allocations: 1.969 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.031, allocations: 8.641 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/1.032, allocations: 1.405 MB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.032, allocations: 0 / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/1.033, allocations: 216.2 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/1.034, allocations: 87 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/1.034, allocations: 37.8 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/1.036, allocations: 1.558 MB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.036, allocations: 7.281 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/1.038, allocations: 1.402 MB / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.039, allocations: 376.5 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/1.039, allocations: 38.86 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009763/1.04, allocations: 102.8 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.04, allocations: 104.2 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/1.041, allocations: 55.73 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000823/1.041, allocations: 0.6468 MB / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 0 / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001169/1.043, allocations: 494.5 kB / 1.262 GB, free: 178.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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001314/1.044, allocations: 0.6262 MB / 1.263 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002585/1.047, allocations: 1.274 MB / 1.264 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.047, allocations: 0 / 1.264 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.048, allocations: 0.7321 MB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.05, allocations: 325.9 kB / 1.265 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/1.055, allocations: 3.279 MB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/1.056, allocations: 1.237 MB / 1.269 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001319/1.057, allocations: 334.8 kB / 1.27 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/1.058, allocations: 159.2 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.058, allocations: 0 / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03737/1.095, allocations: 20.71 MB / 1.29 GB, free: 167.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)