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.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001886/0.001887, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.469/1.469, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.474/1.474, allocations: 251.6 MB / 0.5089 GB, free: 3.246 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.001298/0.001298, allocations: 63.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5784, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004632/0.5831, allocations: 3.594 MB / 0.7275 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.5868, allocations: 2.356 MB / 0.7298 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.5871, allocations: 15.94 kB / 0.7298 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.5873, allocations: 51.48 kB / 0.7299 GB, free: 7.051 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.00115/0.5885, allocations: 341.3 kB / 0.7302 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.5889, allocations: 295.7 kB / 0.7305 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.08709/0.676, allocations: 7.904 MB / 0.7382 GB, free: 392 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.6768, allocations: 373.6 kB / 0.7385 GB, free: 8 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5288/1.206, allocations: 38.8 MB / 0.7764 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/1.206, allocations: 354.3 kB / 0.7768 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/1.206, allocations: 76 kB / 0.7768 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/1.207, allocations: 68 kB / 0.7769 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/1.207, allocations: 167.4 kB / 0.7771 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/1.207, allocations: 358.2 kB / 0.7774 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009511/1.208, allocations: 0.7942 MB / 0.7782 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.208, allocations: 4 kB / 0.7782 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/1.208, allocations: 0 / 0.7782 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.913e-05/1.208, allocations: 0 / 0.7782 GB, free: 7.684 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.002489/1.211, allocations: 0.9742 MB / 0.7791 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.211, allocations: 12.03 kB / 0.7791 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/1.211, allocations: 80 kB / 0.7792 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/1.212, allocations: 463 kB / 0.7797 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/1.212, allocations: 176.7 kB / 0.7798 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/1.212, allocations: 55.94 kB / 0.7799 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/1.214, allocations: 0.6422 MB / 0.7805 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/1.214, allocations: 3.938 kB / 0.7805 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/1.214, allocations: 20 kB / 0.7805 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.214, allocations: 20 kB / 0.7806 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/1.215, allocations: 0.4994 MB / 0.781 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/1.218, allocations: 1.717 MB / 0.7827 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/1.222, allocations: 0.9247 MB / 0.7836 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/1.223, allocations: 315.3 kB / 0.7839 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/1.223, allocations: 27.95 kB / 0.7839 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.223, allocations: 38.56 kB / 0.784 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/1.223, allocations: 0 / 0.784 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002664/1.226, allocations: 0.8188 MB / 0.7848 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.226, allocations: 140.4 kB / 0.7849 GB, free: 500 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/1.227, allocations: 337.7 kB / 0.7852 GB, free: 152 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/1.227, allocations: 37.7 kB / 0.7853 GB, free: 108 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/1.227, allocations: 241 kB / 0.7855 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/1.227, allocations: 236.4 kB / 0.7857 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.227, allocations: 122.1 kB / 0.7858 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.227, allocations: 350.8 kB / 0.7862 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/1.228, allocations: 205.2 kB / 0.7864 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/1.229, allocations: 265.8 kB / 0.7866 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.231, allocations: 487.2 kB / 0.7871 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.231, allocations: 3.938 kB / 0.7871 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001795/1.232, allocations: 0.6059 MB / 0.7877 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.232, allocations: 4 kB / 0.7877 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.232, allocations: 0 / 0.7877 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.232, allocations: 4 kB / 0.7877 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/1.233, allocations: 155.7 kB / 0.7878 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.233, allocations: 8 kB / 0.7879 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.234, allocations: 59.5 kB / 0.7879 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/1.234, allocations: 35.95 kB / 0.7879 GB, free: 13.32 MB / 0.6075 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.0003512/1.234, allocations: 193.6 kB / 0.7881 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/1.235, allocations: 51.34 kB / 0.7882 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/1.237, allocations: 0.9907 MB / 0.7891 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.237, allocations: 12 kB / 0.7892 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.237, allocations: 4 kB / 0.7892 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.237, allocations: 7.969 kB / 0.7892 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.239, allocations: 0.7229 MB / 0.7899 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.239, allocations: 0 / 0.7899 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/1.239, allocations: 211.7 kB / 0.7901 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.24, allocations: 4 kB / 0.7901 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/1.24, allocations: 23.98 kB / 0.7901 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/1.24, allocations: 4 kB / 0.7901 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.24, allocations: 0 / 0.7901 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/1.242, allocations: 1.138 MB / 0.7912 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/1.243, allocations: 216 kB / 0.7914 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/1.243, allocations: 24 kB / 0.7915 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/1.243, allocations: 35.97 kB / 0.7915 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.243, allocations: 63.91 kB / 0.7915 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/1.243, allocations: 35.98 kB / 0.7916 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002881/1.244, allocations: 235.2 kB / 0.7918 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.71e-07/1.244, allocations: 0 / 0.7918 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006657/1.244, allocations: 155.6 kB / 0.792 GB, free: 9.117 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.0001767/1.245, allocations: 127.1 kB / 0.7921 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002002/1.247, allocations: 0.6677 MB / 0.7927 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.247, allocations: 0 / 0.7927 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/1.248, allocations: 419.4 kB / 0.7931 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/1.249, allocations: 53.56 kB / 0.7932 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.252, allocations: 1.545 MB / 0.7947 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/1.253, allocations: 0.9219 MB / 0.7956 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005253/1.253, allocations: 108.8 kB / 0.7957 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/1.254, allocations: 87.38 kB / 0.7958 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/1.254, allocations: 3.938 kB / 0.7958 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.01038/1.264, allocations: 5.213 MB / 0.8009 GB, free: 15.93 MB / 0.6231 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)