Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001274/0.001275, allocations: 106.7 kB / 15.99 MB, free: 6.355 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.001328/0.001328, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.51/1.51, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.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.001419/0.001419, allocations: 71.2 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2764, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005102/0.2815, allocations: 3.575 MB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.2857, allocations: 2.422 MB / 0.7894 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.2862, allocations: 15.94 kB / 0.7894 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2864, allocations: 43.5 kB / 0.7894 GB, free: 7.797 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001434/0.2879, allocations: 346.5 kB / 0.7897 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.2884, allocations: 291.6 kB / 0.79 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.2893, allocations: 0.8668 MB / 0.7909 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.2897, allocations: 361.7 kB / 0.7912 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6286/0.9183, allocations: 45.83 MB / 0.836 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.9191, allocations: 362.4 kB / 0.8363 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.9194, allocations: 72 kB / 0.8364 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.9197, allocations: 87.98 kB / 0.8365 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.9199, allocations: 159.5 kB / 0.8366 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.9204, allocations: 362.1 kB / 0.837 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000942/0.9214, allocations: 0.6236 MB / 0.8376 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9214, allocations: 0 / 0.8376 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9214, allocations: 0 / 0.8376 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.9214, allocations: 0 / 0.8376 GB, free: 8.531 MB / 0.6544 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.002336/0.9238, allocations: 0.9431 MB / 0.8385 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.9238, allocations: 8.031 kB / 0.8385 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.9241, allocations: 72.09 kB / 0.8386 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.9252, allocations: 474.9 kB / 0.839 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.9253, allocations: 45.69 kB / 0.8391 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.9254, allocations: 64.12 kB / 0.8391 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.9266, allocations: 0.5952 MB / 0.8397 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.9267, allocations: 0 / 0.8397 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.9267, allocations: 31.94 kB / 0.8397 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.9268, allocations: 20 kB / 0.8398 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.9277, allocations: 451.2 kB / 0.8402 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.9306, allocations: 1.701 MB / 0.8419 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.9337, allocations: 0.8467 MB / 0.8427 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.9343, allocations: 291.2 kB / 0.843 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.9348, allocations: 429.5 kB / 0.8434 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.9348, allocations: 38.56 kB / 0.8434 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.9348, allocations: 0 / 0.8434 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001603/0.9364, allocations: 0.7211 MB / 0.8441 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.9365, allocations: 140.5 kB / 0.8442 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.937, allocations: 329.7 kB / 0.8446 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.937, allocations: 37.7 kB / 0.8446 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.9372, allocations: 240.8 kB / 0.8448 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.9374, allocations: 240.5 kB / 0.8451 GB, free: 496 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.9376, allocations: 118.2 kB / 0.8452 GB, free: 372 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9377, allocations: 358.7 kB / 0.8455 GB, free: 4 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.9381, allocations: 165.2 kB / 0.8457 GB, free: 15.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.9385, allocations: 225.9 kB / 0.8459 GB, free: 15.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.9393, allocations: 435.3 kB / 0.8463 GB, free: 15.17 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9394, allocations: 4 kB / 0.8463 GB, free: 15.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00103/0.9404, allocations: 0.5356 MB / 0.8468 GB, free: 14.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.9404, allocations: 8 kB / 0.8468 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9404, allocations: 0 / 0.8468 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.9405, allocations: 4 kB / 0.8468 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.9411, allocations: 135.8 kB / 0.847 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.9412, allocations: 4 kB / 0.847 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.9416, allocations: 39.53 kB / 0.847 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.9416, allocations: 31.97 kB / 0.847 GB, free: 14.41 MB / 0.67 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.000271/0.9419, allocations: 194.3 kB / 0.8472 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.9421, allocations: 47.44 kB / 0.8473 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.944, allocations: 0.9413 MB / 0.8482 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.944, allocations: 12 kB / 0.8482 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.9441, allocations: 4 kB / 0.8482 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.9441, allocations: 7.969 kB / 0.8482 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.9454, allocations: 0.7151 MB / 0.8489 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.9454, allocations: 0 / 0.8489 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.9462, allocations: 191.7 kB / 0.8491 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.9462, allocations: 8 kB / 0.8491 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.9463, allocations: 23.98 kB / 0.8491 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.9463, allocations: 4 kB / 0.8491 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9463, allocations: 0 / 0.8491 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.9478, allocations: 1.069 MB / 0.8502 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.9481, allocations: 216 kB / 0.8504 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.9482, allocations: 23.98 kB / 0.8504 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.9487, allocations: 20 kB / 0.8504 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.9488, allocations: 67.91 kB / 0.8505 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.9489, allocations: 31.98 kB / 0.8505 GB, free: 10.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002744/0.9491, allocations: 239.2 kB / 0.8507 GB, free: 10.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.9491, allocations: 0 / 0.8507 GB, free: 10.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006798/0.9498, allocations: 155.6 kB / 0.8509 GB, free: 10.36 MB / 0.67 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.0002411/0.9501, allocations: 139 kB / 0.851 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.9514, allocations: 0.5898 MB / 0.8516 GB, free: 9.633 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9514, allocations: 0 / 0.8516 GB, free: 9.633 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.952, allocations: 384.9 kB / 0.852 GB, free: 9.258 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.9527, allocations: 57.44 kB / 0.852 GB, free: 9.199 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.9551, allocations: 1.549 MB / 0.8535 GB, free: 7.609 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.9556, allocations: 0.9141 MB / 0.8544 GB, free: 6.664 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.9559, allocations: 95.38 kB / 0.8545 GB, free: 6.57 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.9559, allocations: 0 / 0.8545 GB, free: 6.57 MB / 0.67 GB Notification: Performance of Templates: time 0.01255/0.9685, allocations: 7.185 MB / 0.8615 GB, free: 15.37 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)