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.001139/0.00114, 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.001124/0.001124, allocations: 192.3 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 60.08 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008393/0.3142, allocations: 6.913 MB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.4619, allocations: 151.3 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.463, allocations: 19.94 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009063/0.4639, allocations: 261.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.4665, allocations: 0.7934 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4688, allocations: 0.9993 MB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.4712, allocations: 2.125 MB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.4728, allocations: 1.022 MB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4739, allocations: 0.8369 MB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.4752, allocations: 0.9025 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004792/0.4757, allocations: 204 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.4769, allocations: 0.5387 MB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.4775, allocations: 494.4 kB / 1.231 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.4786, allocations: 0.9447 MB / 1.232 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.4814, allocations: 2.512 MB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4814, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4814, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.863e-05/0.4815, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 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.00451/0.486, allocations: 2.058 MB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.486, allocations: 8.031 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.4872, allocations: 258.6 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4886, allocations: 0.9692 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.4887, allocations: 126.9 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.4889, allocations: 152 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.4917, allocations: 1.58 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.4918, allocations: 4 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.4919, allocations: 63.94 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.492, allocations: 47.98 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.4947, allocations: 1.631 MB / 1.241 GB, free: 8.895 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.00689/0.5016, allocations: 4.579 MB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.5038, allocations: 1.188 MB / 1.246 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00082/0.5046, allocations: 479.6 kB / 1.247 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.5048, allocations: 45 kB / 1.247 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.5061, allocations: 0.7823 MB / 1.248 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.667e-06/0.5061, allocations: 3.938 kB / 1.248 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.4461/0.9522, allocations: 1.837 MB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.9523, allocations: 195.4 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.9537, allocations: 0.8683 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.9539, allocations: 53.62 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.9544, allocations: 0.6054 MB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.9547, allocations: 410.3 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.9551, allocations: 258.3 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.9552, allocations: 353.5 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009011/0.9561, allocations: 452.1 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.9571, allocations: 0.5633 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.9591, allocations: 0.9894 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.9591, allocations: 0.875 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003624/0.9628, allocations: 1.343 MB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.9628, allocations: 7.828 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9628, allocations: 1.844 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.9635, allocations: 87.62 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9646, allocations: 267.9 kB / 1.256 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.9664, allocations: 1.643 MB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.9676, allocations: 151 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/0.9677, allocations: 61.69 kB / 1.257 GB, free: 180.4 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.0005805/0.9683, allocations: 345.8 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.9685, allocations: 125.3 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.9718, allocations: 1.712 MB / 1.26 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.9718, allocations: 13.12 kB / 1.26 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.9718, allocations: 3.969 kB / 1.26 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.9718, allocations: 7.922 kB / 1.26 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9731, allocations: 1.402 MB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9732, allocations: 2.203 kB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.9741, allocations: 218.9 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.9745, allocations: 73.69 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.9746, allocations: 43.67 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.9761, allocations: 1.678 MB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9762, allocations: 4.625 kB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.9787, allocations: 1.407 MB / 1.264 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.9792, allocations: 374 kB / 1.265 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.9794, allocations: 37.98 kB / 1.265 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/0.9803, allocations: 83.19 kB / 1.265 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.9806, allocations: 114.5 kB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.9807, allocations: 56.14 kB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008059/0.9815, allocations: 0.6454 MB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/0.9815, allocations: 0 / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001119/0.9826, allocations: 485.4 kB / 1.266 GB, free: 176.1 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.001287/0.9839, allocations: 0.6364 MB / 1.267 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00403/0.988, allocations: 1.587 MB / 1.268 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.988, allocations: 2.062 kB / 1.268 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.9893, allocations: 0.7363 MB / 1.269 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.9908, allocations: 350.4 kB / 1.269 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.9951, allocations: 2.595 MB / 1.272 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.9963, allocations: 1.235 MB / 1.273 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00139/0.9977, allocations: 334.3 kB / 1.273 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.9981, allocations: 155.5 kB / 1.274 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.9982, allocations: 0 / 1.274 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03685/1.035, allocations: 21.72 MB / 1.295 GB, free: 165.2 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)