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.001124/0.001125, 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.001727/0.001727, allocations: 186.9 kB / 16.25 MB, free: 6.641 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7448 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.53 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3156, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008644/0.3243, allocations: 6.893 MB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.4855, allocations: 149 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.4866, allocations: 23.88 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.4875, allocations: 198.4 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.4898, allocations: 0.6991 MB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4919, allocations: 0.8966 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.4944, allocations: 2.133 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.4959, allocations: 1.022 MB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.4972, allocations: 0.8369 MB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.4982, allocations: 0.9064 MB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.4985, allocations: 208 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.4995, allocations: 0.5426 MB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.5, allocations: 486.4 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.5008, allocations: 0.9525 MB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.5034, allocations: 2.516 MB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5034, allocations: 3.938 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5034, allocations: 0 / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.5035, allocations: 0 / 1.231 GB, free: 2.84 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.004281/0.5078, allocations: 2.052 MB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5078, allocations: 15.97 kB / 1.233 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.5089, allocations: 254.6 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5103, allocations: 0.977 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.5104, allocations: 115.1 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.5106, allocations: 144 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.5134, allocations: 1.588 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.5134, allocations: 0 / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.5136, allocations: 64 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.5136, allocations: 39.94 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.5163, allocations: 1.635 MB / 1.238 GB, free: 11.8 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.00694/0.5233, allocations: 4.567 MB / 1.242 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.5254, allocations: 1.188 MB / 1.243 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.5262, allocations: 479.7 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.5264, allocations: 53.06 kB / 1.244 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.5277, allocations: 0.773 MB / 1.245 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 4.869e-06/0.5278, allocations: 112 / 1.245 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004518/0.5323, allocations: 1.846 MB / 1.246 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.962e-05/0.5324, allocations: 201.2 kB / 1.247 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5335, allocations: 0.8692 MB / 1.248 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.5337, allocations: 57.69 kB / 1.248 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.5341, allocations: 0.6053 MB / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.5344, allocations: 410.2 kB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/0.5348, allocations: 254.7 kB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5054/1.04, allocations: 357.9 kB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/1.042, allocations: 447.3 kB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.043, allocations: 0.5663 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/1.045, allocations: 0.9865 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.045, allocations: 1.75 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003597/1.049, allocations: 1.347 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.049, allocations: 5.469 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.049, allocations: 2.906 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/1.049, allocations: 83.78 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.051, allocations: 266.7 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/1.053, allocations: 1.655 MB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.054, allocations: 157.4 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.054, allocations: 61.12 kB / 1.255 GB, free: 181.1 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.0008028/1.055, allocations: 357.7 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.056, allocations: 118.2 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/1.059, allocations: 1.711 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.059, allocations: 14.19 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.059, allocations: 0 / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/1.059, allocations: 6.875 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/1.061, allocations: 1.406 MB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.061, allocations: 6.078 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/1.062, allocations: 216.4 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/1.063, allocations: 71.31 kB / 1.258 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/1.063, allocations: 48.2 kB / 1.258 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.064, allocations: 1.673 MB / 1.26 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.064, allocations: 0 / 1.26 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/1.067, allocations: 1.407 MB / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/1.068, allocations: 371.2 kB / 1.262 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/1.068, allocations: 37.56 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/1.069, allocations: 102 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.069, allocations: 110.9 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.069, allocations: 54.03 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008486/1.07, allocations: 0.6479 MB / 1.263 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.07, allocations: 0 / 1.263 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001208/1.071, allocations: 494.4 kB / 1.263 GB, free: 177.8 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.001389/1.073, allocations: 0.6241 MB / 1.264 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004753/1.077, allocations: 1.59 MB / 1.265 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.077, allocations: 1.406 kB / 1.265 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.079, allocations: 0.7423 MB / 1.266 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.081, allocations: 350.1 kB / 1.266 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/1.086, allocations: 3.271 MB / 1.27 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009322/1.087, allocations: 1.241 MB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001498/1.088, allocations: 335.2 kB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/1.089, allocations: 161.4 kB / 1.271 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/1.089, allocations: 0 / 1.271 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04619/1.135, allocations: 21.54 MB / 1.292 GB, free: 166.6 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)