Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 108 kB / 15.61 MB, free: 152 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.001836/0.001837, allocations: 192.3 kB / 16.53 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.17 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007246/0.3609, allocations: 4.98 MB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1845/0.5454, allocations: 150.8 MB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.5466, allocations: 19.94 kB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.5475, allocations: 194.1 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.5499, allocations: 0.5666 MB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.5522, allocations: 0.8518 MB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.554, allocations: 1.444 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.555, allocations: 0.5832 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.5557, allocations: 0.5099 MB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.5564, allocations: 0.5329 MB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.5566, allocations: 124 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009912/0.5576, allocations: 455.7 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.5579, allocations: 310.9 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.5585, allocations: 0.5947 MB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.5605, allocations: 1.636 MB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5605, allocations: 7.938 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5605, allocations: 0 / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5606, allocations: 0 / 1.228 GB, free: 6.203 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002854/0.5634, allocations: 1.475 MB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5635, allocations: 8.031 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009925/0.5645, allocations: 191.3 kB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5656, allocations: 0.7624 MB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.5657, allocations: 69.98 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5658, allocations: 84 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5677, allocations: 0.9651 MB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.5677, allocations: 0 / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.568, allocations: 43.98 kB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.568, allocations: 24 kB / 1.231 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.57, allocations: 1.155 MB / 1.233 GB, free: 1.297 MB / 0.9825 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.005332/0.5754, allocations: 2.876 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.577, allocations: 0.8512 MB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.5777, allocations: 318.7 kB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/0.5778, allocations: 32.67 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009574/0.5787, allocations: 0.5392 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.395e-06/0.5787, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003652/0.5824, allocations: 1.29 MB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.5825, allocations: 200.8 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.5835, allocations: 0.6566 MB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.5835, allocations: 41.7 kB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.5839, allocations: 408.4 kB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.5842, allocations: 283.9 kB / 1.24 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.5844, allocations: 178.5 kB / 1.24 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5846, allocations: 386.8 kB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.5852, allocations: 293.8 kB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.5859, allocations: 391.1 kB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.5871, allocations: 0.6554 MB / 1.242 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5871, allocations: 0 / 1.242 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002253/0.5894, allocations: 0.9269 MB / 1.243 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5894, allocations: 15.94 kB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5894, allocations: 3.984 kB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.59, allocations: 80.78 kB / 1.243 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.5908, allocations: 179.8 kB / 1.243 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.5932, allocations: 1.631 MB / 1.244 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.5942, allocations: 95.22 kB / 1.245 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.5943, allocations: 47.97 kB / 1.245 GB, free: 4.535 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.00067/0.595, allocations: 283.9 kB / 1.245 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5952, allocations: 86.95 kB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.5978, allocations: 1.152 MB / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5979, allocations: 15.98 kB / 1.246 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5979, allocations: 3.938 kB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5979, allocations: 7.984 kB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.5991, allocations: 0.9384 MB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.5991, allocations: 8 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.5998, allocations: 151.8 kB / 1.247 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6002, allocations: 76.78 kB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.6003, allocations: 27.92 kB / 1.247 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6188/1.219, allocations: 1.651 MB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.219, allocations: 1.375 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/1.222, allocations: 0.9968 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/1.222, allocations: 283.3 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/1.222, allocations: 28.19 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/1.223, allocations: 67.52 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.223, allocations: 77.81 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/1.223, allocations: 38.36 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006732/1.224, allocations: 480.2 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.224, allocations: 1.281 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009543/1.225, allocations: 336.7 kB / 1.251 GB, free: 182.9 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001488/1.226, allocations: 0.6104 MB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002722/1.229, allocations: 1.119 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.229, allocations: 0 / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.23, allocations: 0.5447 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.232, allocations: 310.8 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/1.235, allocations: 1.749 MB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/1.235, allocations: 1.039 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008736/1.236, allocations: 273.4 kB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.236, allocations: 116.5 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.236, allocations: 0 / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03196/1.268, allocations: 15.93 MB / 1.272 GB, free: 178.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)