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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001252/0.001252, allocations: 192 kB / 16.13 MB, free: 6.699 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.389/1.389, allocations: 205.1 MB / 222 MB, free: 5.004 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.646/1.646, allocations: 292.3 MB / 0.5484 GB, free: 13.73 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.002372/0.002372, allocations: 59.19 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2259, allocations: 114.5 MB / 0.7827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004774/0.2307, allocations: 3.583 MB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.2348, allocations: 2.434 MB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.2353, allocations: 15.94 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2355, allocations: 47.48 kB / 0.7886 GB, free: 7.957 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.001271/0.2368, allocations: 325.7 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.2373, allocations: 295.6 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.2382, allocations: 0.816 MB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.2387, allocations: 349.7 kB / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6801/0.9188, allocations: 42.25 MB / 0.8316 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.9194, allocations: 338.4 kB / 0.8319 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.9195, allocations: 32 kB / 0.8319 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.9197, allocations: 59.97 kB / 0.832 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.9199, allocations: 119.5 kB / 0.8321 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.9202, allocations: 326.1 kB / 0.8324 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.9211, allocations: 0.7825 MB / 0.8332 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9211, allocations: 3.938 kB / 0.8332 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9211, allocations: 3.938 kB / 0.8332 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.9212, allocations: 0 / 0.8332 GB, free: 12.37 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.001858/0.923, allocations: 0.9431 MB / 0.8341 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9231, allocations: 8.031 kB / 0.8341 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.9232, allocations: 72.09 kB / 0.8342 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.9238, allocations: 482.8 kB / 0.8346 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.9239, allocations: 45.69 kB / 0.8347 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.9239, allocations: 68.11 kB / 0.8347 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.9251, allocations: 0.5952 MB / 0.8353 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.9252, allocations: 0 / 0.8353 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.9252, allocations: 24 kB / 0.8354 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.9252, allocations: 16 kB / 0.8354 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.9262, allocations: 459.2 kB / 0.8358 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.9287, allocations: 1.686 MB / 0.8375 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.9318, allocations: 0.8429 MB / 0.8383 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.9324, allocations: 299.1 kB / 0.8386 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.9328, allocations: 425.5 kB / 0.839 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.9328, allocations: 42.56 kB / 0.839 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/0.9329, allocations: 0 / 0.839 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001533/0.9344, allocations: 0.7211 MB / 0.8397 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.9345, allocations: 140.5 kB / 0.8398 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.9348, allocations: 329.7 kB / 0.8402 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.9348, allocations: 37.7 kB / 0.8402 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.935, allocations: 244.8 kB / 0.8404 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.9352, allocations: 240.5 kB / 0.8407 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.9353, allocations: 114.3 kB / 0.8408 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.9355, allocations: 354.8 kB / 0.8411 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.9358, allocations: 165.2 kB / 0.8413 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.9363, allocations: 229.8 kB / 0.8415 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.9371, allocations: 439.4 kB / 0.8419 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9371, allocations: 3.938 kB / 0.8419 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001024/0.9382, allocations: 0.5357 MB / 0.8424 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9382, allocations: 8 kB / 0.8424 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9382, allocations: 0 / 0.8424 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.9382, allocations: 4 kB / 0.8424 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.9389, allocations: 135.8 kB / 0.8426 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9389, allocations: 4 kB / 0.8426 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.9393, allocations: 47.52 kB / 0.8426 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.9393, allocations: 27.97 kB / 0.8426 GB, free: 2.242 MB / 0.6544 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.0002319/0.9396, allocations: 194.3 kB / 0.8428 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.9397, allocations: 47.44 kB / 0.8429 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.9416, allocations: 0.9346 MB / 0.8438 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.9416, allocations: 12 kB / 0.8438 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9416, allocations: 4 kB / 0.8438 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9416, allocations: 3.984 kB / 0.8438 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009386/0.9426, allocations: 0.719 MB / 0.8445 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9426, allocations: 0 / 0.8445 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.9434, allocations: 187.7 kB / 0.8447 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.9434, allocations: 8 kB / 0.8447 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.9435, allocations: 27.98 kB / 0.8447 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.9435, allocations: 4 kB / 0.8447 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9435, allocations: 0 / 0.8447 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.9449, allocations: 1.062 MB / 0.8458 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.9451, allocations: 220 kB / 0.846 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.9452, allocations: 16 kB / 0.846 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.9457, allocations: 31.98 kB / 0.846 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.9458, allocations: 71.78 kB / 0.8461 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.9458, allocations: 27.98 kB / 0.8461 GB, free: 14.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002215/0.946, allocations: 239.2 kB / 0.8463 GB, free: 14.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9461, allocations: 0 / 0.8463 GB, free: 14.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000599/0.9467, allocations: 155.6 kB / 0.8465 GB, free: 14.21 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.0002075/0.9469, allocations: 146.9 kB / 0.8466 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.9479, allocations: 0.5338 MB / 0.8472 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9479, allocations: 0 / 0.8472 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.9488, allocations: 384.9 kB / 0.8475 GB, free: 13.15 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.9494, allocations: 61.5 kB / 0.8476 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.9514, allocations: 1.506 MB / 0.849 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.9519, allocations: 0.9182 MB / 0.8499 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004839/0.9524, allocations: 108.8 kB / 0.85 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.9526, allocations: 83.39 kB / 0.8501 GB, free: 10.41 MB / 0.67 GB Notification: Performance of SimCode: time 4.1e-07/0.9527, allocations: 0 / 0.8501 GB, free: 10.41 MB / 0.67 GB Notification: Performance of Templates: time 0.01004/0.9627, allocations: 4.97 MB / 0.855 GB, free: 5.457 MB / 0.67 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)