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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.1 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007232/0.0007233, allocations: 95.95 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 12.14 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003068/0.1864, allocations: 3.182 MB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1898, allocations: 2.348 MB / 0.9068 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.1903, allocations: 15.94 kB / 0.9069 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1905, allocations: 43.5 kB / 0.9069 GB, free: 57.86 MB / 0.6042 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.00138/0.1919, allocations: 338.4 kB / 0.9072 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1924, allocations: 287.7 kB / 0.9075 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1261/0.3186, allocations: 7.312 MB / 0.9146 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.3192, allocations: 353.6 kB / 0.915 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7299/1.049, allocations: 35.74 MB / 0.9499 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/1.05, allocations: 274.5 kB / 0.9502 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/1.05, allocations: 12 kB / 0.9502 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/1.05, allocations: 16 kB / 0.9502 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/1.05, allocations: 103.4 kB / 0.9503 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/1.05, allocations: 304 kB / 0.9506 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005596/1.051, allocations: 0.5805 MB / 0.9511 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.051, allocations: 0 / 0.9511 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/1.051, allocations: 0 / 0.9511 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.397e-05/1.051, allocations: 0 / 0.9511 GB, free: 13.34 MB / 0.6042 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.001997/1.053, allocations: 0.8457 MB / 0.952 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.053, allocations: 12.02 kB / 0.952 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/1.053, allocations: 76.09 kB / 0.952 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/1.054, allocations: 475 kB / 0.9525 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/1.054, allocations: 176.7 kB / 0.9527 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/1.054, allocations: 59.94 kB / 0.9527 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.056, allocations: 0.6422 MB / 0.9533 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.056, allocations: 4 kB / 0.9534 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/1.056, allocations: 24 kB / 0.9534 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.056, allocations: 16 kB / 0.9534 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/1.057, allocations: 0.5226 MB / 0.9539 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/1.06, allocations: 1.717 MB / 0.9556 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/1.064, allocations: 0.9171 MB / 0.9565 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/1.065, allocations: 331.2 kB / 0.9568 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/1.065, allocations: 19.95 kB / 0.9568 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.065, allocations: 46.5 kB / 0.9569 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/1.065, allocations: 0 / 0.9569 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002485/1.067, allocations: 0.8343 MB / 0.9577 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.067, allocations: 140.5 kB / 0.9578 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/1.068, allocations: 333.7 kB / 0.9581 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/1.068, allocations: 33.7 kB / 0.9582 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.068, allocations: 248.8 kB / 0.9584 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.068, allocations: 228.6 kB / 0.9586 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.068, allocations: 16 kB / 0.9586 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/1.068, allocations: 358.8 kB / 0.959 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/1.069, allocations: 201.2 kB / 0.9592 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/1.069, allocations: 273.7 kB / 0.9594 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.071, allocations: 499.3 kB / 0.9599 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.071, allocations: 11.88 kB / 0.9599 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001575/1.072, allocations: 0.6059 MB / 0.9605 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.072, allocations: 4 kB / 0.9605 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.072, allocations: 0 / 0.9605 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.072, allocations: 4 kB / 0.9605 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/1.073, allocations: 155.8 kB / 0.9607 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.073, allocations: 4 kB / 0.9607 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/1.074, allocations: 63.5 kB / 0.9607 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/1.074, allocations: 31.97 kB / 0.9607 GB, free: 3.133 MB / 0.6042 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.0002327/1.074, allocations: 193.7 kB / 0.9609 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.074, allocations: 55.34 kB / 0.961 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.077, allocations: 0.9999 MB / 0.962 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.077, allocations: 15.98 kB / 0.962 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.077, allocations: 0 / 0.962 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.077, allocations: 3.984 kB / 0.962 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.078, allocations: 0.7229 MB / 0.9627 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.078, allocations: 4 kB / 0.9627 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/1.079, allocations: 211.7 kB / 0.9629 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.079, allocations: 4 kB / 0.9629 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/1.079, allocations: 27.98 kB / 0.9629 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.079, allocations: 4 kB / 0.9629 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.079, allocations: 0 / 0.9629 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.081, allocations: 1.141 MB / 0.964 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/1.081, allocations: 216 kB / 0.9642 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/1.081, allocations: 20 kB / 0.9643 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/1.082, allocations: 39.97 kB / 0.9643 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.082, allocations: 63.91 kB / 0.9644 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/1.082, allocations: 35.98 kB / 0.9644 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002577/1.082, allocations: 235.2 kB / 0.9646 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.184e-06/1.082, allocations: 0 / 0.9646 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006087/1.083, allocations: 155.5 kB / 0.9648 GB, free: 14.91 MB / 0.6198 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.0001811/1.083, allocations: 135.1 kB / 0.9649 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.085, allocations: 0.6248 MB / 0.9655 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.085, allocations: 0 / 0.9655 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/1.086, allocations: 424.2 kB / 0.9659 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/1.087, allocations: 61.5 kB / 0.966 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.089, allocations: 1.588 MB / 0.9675 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/1.09, allocations: 0.9141 MB / 0.9684 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/1.09, allocations: 91.38 kB / 0.9685 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/1.09, allocations: 0 / 0.9685 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.01195/1.102, allocations: 7.131 MB / 0.9755 GB, free: 3.871 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (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)