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.001111/0.001112, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.001134/0.001134, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.484/1.484, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.765/1.765, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001432/0.001432, allocations: 67.91 kB / 0.6721 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2379, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.00571/0.2437, allocations: 3.548 MB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4306/0.6743, allocations: 2.454 MB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.6747, allocations: 17.44 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.6749, allocations: 72.98 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.001346/0.6762, allocations: 397 kB / 0.7903 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.6767, allocations: 320.5 kB / 0.7907 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.6774, allocations: 0.8634 MB / 0.7915 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.6778, allocations: 367.9 kB / 0.7918 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2513/0.9292, allocations: 45.83 MB / 0.8366 GB, free: 25.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.9299, allocations: 350.3 kB / 0.8369 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.93, allocations: 70.53 kB / 0.837 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.9302, allocations: 102.4 kB / 0.8371 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.9304, allocations: 160.7 kB / 0.8373 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004006/0.9308, allocations: 351.9 kB / 0.8376 GB, free: 24.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.932, allocations: 0.8098 MB / 0.8384 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.932, allocations: 0 / 0.8384 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.932, allocations: 0 / 0.8384 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.932, allocations: 1.062 kB / 0.8384 GB, free: 24.4 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.00166/0.9337, allocations: 0.9443 MB / 0.8393 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.9338, allocations: 10 kB / 0.8393 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.934, allocations: 71.84 kB / 0.8394 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.9346, allocations: 477.7 kB / 0.8398 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.9347, allocations: 46.5 kB / 0.8399 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.9348, allocations: 66.34 kB / 0.8399 GB, free: 23.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.9358, allocations: 0.5999 MB / 0.8405 GB, free: 23.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.9358, allocations: 0 / 0.8405 GB, free: 23.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.9359, allocations: 21.53 kB / 0.8406 GB, free: 23.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.9359, allocations: 15.09 kB / 0.8406 GB, free: 23.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.9369, allocations: 460 kB / 0.841 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.9393, allocations: 1.696 MB / 0.8427 GB, free: 21.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.9423, allocations: 0.8339 MB / 0.8435 GB, free: 21.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.9428, allocations: 293.2 kB / 0.8438 GB, free: 21.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.9431, allocations: 430.5 kB / 0.8442 GB, free: 20.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.9432, allocations: 39.77 kB / 0.8442 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.955e-06/0.9432, allocations: 5.234 kB / 0.8442 GB, free: 20.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001504/0.9447, allocations: 0.7203 MB / 0.8449 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.9448, allocations: 137.2 kB / 0.845 GB, free: 20.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.9451, allocations: 330.7 kB / 0.8454 GB, free: 20.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.9451, allocations: 39.77 kB / 0.8454 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.9453, allocations: 242.3 kB / 0.8456 GB, free: 20 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.9454, allocations: 240.5 kB / 0.8459 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9456, allocations: 118.2 kB / 0.846 GB, free: 19.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.9457, allocations: 355.3 kB / 0.8463 GB, free: 19.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.9461, allocations: 163.5 kB / 0.8465 GB, free: 19.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.9465, allocations: 225.7 kB / 0.8467 GB, free: 19.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.9473, allocations: 441.7 kB / 0.8471 GB, free: 19.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9473, allocations: 7.875 kB / 0.8471 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000969/0.9482, allocations: 0.5401 MB / 0.8476 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9483, allocations: 5.812 kB / 0.8476 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9483, allocations: 5.594 kB / 0.8476 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9483, allocations: 2.688 kB / 0.8476 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.9489, allocations: 134.1 kB / 0.8478 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.949, allocations: 3.562 kB / 0.8478 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.9493, allocations: 50.89 kB / 0.8478 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.9494, allocations: 27.48 kB / 0.8479 GB, free: 18.77 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.0001995/0.9496, allocations: 193.6 kB / 0.848 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.9497, allocations: 47.67 kB / 0.8481 GB, free: 18.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.9521, allocations: 0.9236 MB / 0.849 GB, free: 18.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.9522, allocations: 12.7 kB / 0.849 GB, free: 18.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.9522, allocations: 1.688 kB / 0.849 GB, free: 18.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.9522, allocations: 5.438 kB / 0.849 GB, free: 18.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.9532, allocations: 0.7111 MB / 0.8497 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.9532, allocations: 1.5 kB / 0.8497 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.954, allocations: 187.9 kB / 0.8499 GB, free: 17.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.954, allocations: 6.297 kB / 0.8499 GB, free: 17.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.954, allocations: 27.05 kB / 0.8499 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.9541, allocations: 4.5 kB / 0.8499 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9541, allocations: 7.812 kB / 0.8499 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.9554, allocations: 1.064 MB / 0.851 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.9556, allocations: 219.4 kB / 0.8512 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.9557, allocations: 17.66 kB / 0.8512 GB, free: 16.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.9561, allocations: 27.72 kB / 0.8512 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9562, allocations: 60.45 kB / 0.8513 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.9563, allocations: 34.42 kB / 0.8513 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002563/0.9566, allocations: 236.5 kB / 0.8515 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9566, allocations: 1.094 kB / 0.8515 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006591/0.9572, allocations: 162.3 kB / 0.8517 GB, free: 16.73 MB / 0.6544 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.0002124/0.9574, allocations: 137.3 kB / 0.8518 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.9587, allocations: 0.5901 MB / 0.8524 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9587, allocations: 0 / 0.8524 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.9593, allocations: 386 kB / 0.8528 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.9599, allocations: 61.8 kB / 0.8528 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.962, allocations: 1.233 MB / 0.854 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.9625, allocations: 0.913 MB / 0.8549 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.9627, allocations: 90.89 kB / 0.855 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.9627, allocations: 4 kB / 0.855 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01551/0.9783, allocations: 7.183 MB / 0.862 GB, free: 12.79 MB / 0.6544 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)