Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.002027/0.002027, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002269/0.002269, allocations: 195 kB / 16.25 MB, free: 6.617 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.56 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3248, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008846/0.3337, allocations: 6.889 MB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.4946, allocations: 149.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.4969, allocations: 15.94 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4983, allocations: 198.4 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.5024, allocations: 0.707 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.5053, allocations: 0.8864 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.5085, allocations: 2.14 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.5104, allocations: 1.014 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.512, allocations: 0.8446 MB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5136, allocations: 0.8986 MB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005093/0.5142, allocations: 208 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.5153, allocations: 0.5426 MB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.5158, allocations: 486.5 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.5167, allocations: 0.9602 MB / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.5195, allocations: 2.508 MB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5195, allocations: 3.984 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5195, allocations: 4 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.004e-05/0.5196, allocations: 0 / 1.231 GB, free: 2.812 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.004022/0.5236, allocations: 2.05 MB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5237, allocations: 12.02 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5248, allocations: 254.6 kB / 1.233 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.5263, allocations: 0.9695 MB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5264, allocations: 123.1 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.5266, allocations: 148 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.5293, allocations: 1.58 MB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.5294, allocations: 0 / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.5295, allocations: 63.94 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.5295, allocations: 43.94 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.5322, allocations: 1.635 MB / 1.238 GB, free: 11.77 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.006894/0.5391, allocations: 4.567 MB / 1.242 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.5412, allocations: 1.188 MB / 1.243 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/0.542, allocations: 475.7 kB / 1.244 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.5421, allocations: 53.06 kB / 1.244 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.5435, allocations: 0.7822 MB / 1.245 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 4.348e-06/0.5436, allocations: 112 / 1.245 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004456/0.548, allocations: 1.842 MB / 1.246 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5481, allocations: 205.2 kB / 1.247 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.5493, allocations: 0.8693 MB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5494, allocations: 57.64 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.5499, allocations: 0.6014 MB / 1.248 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.5502, allocations: 410.2 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.5506, allocations: 254.7 kB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.564/1.115, allocations: 357.9 kB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.116, allocations: 446.7 kB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/1.117, allocations: 0.5634 MB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/1.119, allocations: 0.9871 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.119, allocations: 0 / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00336/1.122, allocations: 1.345 MB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.122, allocations: 8.219 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.122, allocations: 5.844 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/1.123, allocations: 80.75 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.124, allocations: 266.9 kB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/1.126, allocations: 1.659 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.128, allocations: 156.5 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.128, allocations: 64.66 kB / 1.255 GB, free: 181.5 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.0007216/1.129, allocations: 347.1 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.129, allocations: 118.1 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/1.132, allocations: 1.72 MB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.133, allocations: 15.75 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.133, allocations: 2.625 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.133, allocations: 6.797 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.134, allocations: 1.404 MB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.134, allocations: 0 / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/1.135, allocations: 213.1 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/1.135, allocations: 75.22 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/1.135, allocations: 38.36 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/1.137, allocations: 1.675 MB / 1.26 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.137, allocations: 4 kB / 1.26 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.14, allocations: 1.413 MB / 1.261 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.14, allocations: 373 kB / 1.262 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.14, allocations: 39.61 kB / 1.262 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/1.141, allocations: 94.44 kB / 1.262 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/1.142, allocations: 114.7 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.142, allocations: 55.25 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008647/1.143, allocations: 0.6418 MB / 1.263 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.143, allocations: 0.5469 kB / 1.263 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00128/1.144, allocations: 0.4912 MB / 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.001325/1.145, allocations: 0.6233 MB / 1.264 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004099/1.149, allocations: 1.589 MB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.149, allocations: 0.8438 kB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.151, allocations: 0.7396 MB / 1.266 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/1.152, allocations: 346.2 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.004896/1.157, allocations: 3.281 MB / 1.27 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.158, allocations: 1.234 MB / 1.271 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001421/1.16, allocations: 335.7 kB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/1.16, allocations: 164.5 kB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.844e-06/1.16, allocations: 0 / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04423/1.204, allocations: 21.55 MB / 1.292 GB, free: 166.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)