Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006177/0.006177, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.629/1.629, allocations: 252 MB / 0.5105 GB, free: 4.652 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005701/0.0005701, allocations: 19.98 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.461, allocations: 106.3 MB / 0.7287 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003644/0.4647, allocations: 3.178 MB / 0.7318 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003807/0.4686, allocations: 2.356 MB / 0.7341 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.4691, allocations: 15.94 kB / 0.7341 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.4693, allocations: 47.5 kB / 0.7342 GB, free: 5.801 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001329/0.4706, allocations: 324.9 kB / 0.7345 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.4712, allocations: 303.6 kB / 0.7348 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.09429/0.5655, allocations: 7.309 MB / 0.7419 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.5662, allocations: 353.6 kB / 0.7423 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5547/1.121, allocations: 35.74 MB / 0.7772 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/1.121, allocations: 274.4 kB / 0.7774 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/1.122, allocations: 16 kB / 0.7774 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/1.122, allocations: 16 kB / 0.7774 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/1.122, allocations: 99.45 kB / 0.7775 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/1.122, allocations: 303.9 kB / 0.7778 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008473/1.123, allocations: 0.7354 MB / 0.7785 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.123, allocations: 4 kB / 0.7786 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/1.123, allocations: 0 / 0.7786 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.062e-05/1.123, allocations: 0 / 0.7786 GB, free: 10.51 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002131/1.125, allocations: 0.8418 MB / 0.7794 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.125, allocations: 12.02 kB / 0.7794 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/1.126, allocations: 72.09 kB / 0.7795 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/1.126, allocations: 467 kB / 0.7799 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/1.127, allocations: 172.7 kB / 0.7801 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/1.127, allocations: 63.94 kB / 0.7801 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.128, allocations: 0.6383 MB / 0.7807 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.129, allocations: 3.938 kB / 0.7808 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/1.129, allocations: 32 kB / 0.7808 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/1.129, allocations: 12 kB / 0.7808 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.13, allocations: 0.5111 MB / 0.7813 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/1.133, allocations: 1.725 MB / 0.783 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/1.137, allocations: 0.9249 MB / 0.7839 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/1.138, allocations: 327.2 kB / 0.7842 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/1.138, allocations: 31.95 kB / 0.7842 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.138, allocations: 42.56 kB / 0.7843 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 3.948e-06/1.138, allocations: 3.984 kB / 0.7843 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.00277/1.141, allocations: 0.8265 MB / 0.7851 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/1.141, allocations: 144.5 kB / 0.7852 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/1.141, allocations: 333.7 kB / 0.7855 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/1.142, allocations: 37.7 kB / 0.7856 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.142, allocations: 240.8 kB / 0.7858 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.142, allocations: 236.5 kB / 0.786 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/1.142, allocations: 53.69 kB / 0.7861 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.142, allocations: 354.8 kB / 0.7864 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000933/1.143, allocations: 201.2 kB / 0.7866 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/1.144, allocations: 273.7 kB / 0.7869 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.145, allocations: 0.4915 MB / 0.7873 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.145, allocations: 3.938 kB / 0.7873 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00183/1.147, allocations: 0.6141 MB / 0.7879 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.147, allocations: 4 kB / 0.788 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.147, allocations: 4 kB / 0.788 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.147, allocations: 3.938 kB / 0.788 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/1.148, allocations: 155.7 kB / 0.7881 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/1.148, allocations: 8 kB / 0.7881 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/1.149, allocations: 67.5 kB / 0.7882 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/1.149, allocations: 23.97 kB / 0.7882 GB, free: 264 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002966/1.149, allocations: 189.7 kB / 0.7884 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.149, allocations: 55.34 kB / 0.7884 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/1.152, allocations: 0.994 MB / 0.7894 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.152, allocations: 12 kB / 0.7894 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.152, allocations: 0 / 0.7894 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.152, allocations: 15.97 kB / 0.7894 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.153, allocations: 0.7229 MB / 0.7901 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.153, allocations: 0 / 0.7901 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/1.154, allocations: 207.7 kB / 0.7903 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.154, allocations: 4 kB / 0.7903 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/1.154, allocations: 27.98 kB / 0.7904 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.154, allocations: 4 kB / 0.7904 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.154, allocations: 4 kB / 0.7904 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/1.156, allocations: 1.146 MB / 0.7915 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/1.157, allocations: 216 kB / 0.7917 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/1.157, allocations: 20 kB / 0.7917 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/1.157, allocations: 35.97 kB / 0.7918 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/1.158, allocations: 71.91 kB / 0.7918 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/1.158, allocations: 35.98 kB / 0.7919 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002481/1.158, allocations: 235.2 kB / 0.7921 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/1.158, allocations: 4 kB / 0.7921 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00064/1.159, allocations: 155.5 kB / 0.7922 GB, free: 12.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/1.159, allocations: 127.1 kB / 0.7924 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.161, allocations: 0.6234 MB / 0.793 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.161, allocations: 0 / 0.793 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009848/1.162, allocations: 424.8 kB / 0.7934 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/1.162, allocations: 57.56 kB / 0.7934 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/1.165, allocations: 1.567 MB / 0.795 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.166, allocations: 0.9141 MB / 0.7958 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005233/1.167, allocations: 112.8 kB / 0.796 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.167, allocations: 87.38 kB / 0.796 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/1.167, allocations: 0 / 0.796 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.01049/1.177, allocations: 4.89 MB / 0.8008 GB, free: 3.188 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) Environment - environmentSimulation: