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.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001472, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 64.47 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3107, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008191/0.3189, allocations: 6.885 MB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.4926, allocations: 149 MB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4943, allocations: 15.94 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.4953, allocations: 202.4 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.498, allocations: 0.6829 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.5004, allocations: 0.8634 MB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.503, allocations: 2.008 MB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.5045, allocations: 0.9907 MB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.5058, allocations: 0.7431 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009862/0.5068, allocations: 0.84 MB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.507, allocations: 116 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.5081, allocations: 455.6 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.5085, allocations: 390.4 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.5093, allocations: 0.8665 MB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.5119, allocations: 2.434 MB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5119, allocations: 0 / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5119, allocations: 0 / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.512, allocations: 0 / 1.23 GB, free: 3.809 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.004408/0.5164, allocations: 2.058 MB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5165, allocations: 12.02 kB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5176, allocations: 254.6 kB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.5191, allocations: 0.9731 MB / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/0.5192, allocations: 119.1 kB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.5194, allocations: 148 kB / 1.234 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.5221, allocations: 1.584 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.5222, allocations: 4 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.5223, allocations: 64 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.5224, allocations: 40 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.5251, allocations: 1.635 MB / 1.237 GB, free: 12.76 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.007428/0.5325, allocations: 4.571 MB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.5347, allocations: 1.192 MB / 1.242 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008318/0.5356, allocations: 475.7 kB / 1.243 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5357, allocations: 49.06 kB / 1.243 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.5372, allocations: 0.7783 MB / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.277e-06/0.5372, allocations: 0 / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004514/0.5417, allocations: 1.846 MB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5418, allocations: 197.2 kB / 1.246 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.543, allocations: 0.8654 MB / 1.246 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5432, allocations: 57.81 kB / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.5437, allocations: 0.6091 MB / 1.247 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.544, allocations: 406.2 kB / 1.248 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.5444, allocations: 258.7 kB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5446, allocations: 353.9 kB / 1.248 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.5455, allocations: 446.4 kB / 1.249 GB, free: 376 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5436/1.089, allocations: 0.5616 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/1.091, allocations: 0.9876 MB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.091, allocations: 3.031 kB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003186/1.094, allocations: 1.345 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.095, allocations: 6.422 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.095, allocations: 2.969 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/1.095, allocations: 84.7 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.096, allocations: 271.9 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.098, allocations: 1.546 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.1, allocations: 151.4 kB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.1, allocations: 62.31 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.0008566/1.101, allocations: 348.5 kB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.101, allocations: 123.5 kB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.105, allocations: 1.713 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.105, allocations: 18.17 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.105, allocations: 0 / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.105, allocations: 9.938 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.107, allocations: 1.404 MB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.107, allocations: 2.031 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/1.108, allocations: 215.4 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/1.108, allocations: 85.47 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/1.108, allocations: 38.72 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.11, allocations: 1.559 MB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.11, allocations: 3.938 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/1.112, allocations: 1.405 MB / 1.26 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1.113, allocations: 377.3 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.113, allocations: 43.05 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/1.114, allocations: 97.72 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.114, allocations: 109.8 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/1.114, allocations: 56.25 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007736/1.115, allocations: 0.6434 MB / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.115, allocations: 0 / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0011/1.116, allocations: 493.2 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.001323/1.117, allocations: 0.6185 MB / 1.263 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.12, 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.116e-06/1.12, allocations: 0 / 1.264 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.121, allocations: 0.7366 MB / 1.264 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.122, allocations: 329.9 kB / 1.265 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/1.127, allocations: 3.277 MB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/1.128, allocations: 1.233 MB / 1.269 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00126/1.129, allocations: 339.4 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/1.13, allocations: 155.3 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.13, allocations: 0 / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03789/1.167, allocations: 20.71 MB / 1.29 GB, free: 167.8 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)