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.001003/0.001003, 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.001087/0.001087, allocations: 193.8 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.723 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.676/1.676, allocations: 292.2 MB / 0.5485 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.001333/0.001333, allocations: 67.64 kB / 0.671 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2223, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005426/0.2278, allocations: 3.579 MB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004492/0.2323, allocations: 2.422 MB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.233, allocations: 19.94 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.2333, allocations: 43.5 kB / 0.7888 GB, free: 7.805 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.001991/0.2354, allocations: 346.7 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.2362, allocations: 287.6 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2376, allocations: 0.8668 MB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.2382, allocations: 369.7 kB / 0.7906 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6233/0.8615, allocations: 45.81 MB / 0.8353 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.862, allocations: 358.4 kB / 0.8356 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.8621, allocations: 68 kB / 0.8357 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.8623, allocations: 95.97 kB / 0.8358 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.8624, allocations: 151.5 kB / 0.8359 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.8628, allocations: 366.1 kB / 0.8363 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.8636, allocations: 0.8137 MB / 0.8371 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8636, allocations: 0 / 0.8371 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8636, allocations: 0 / 0.8371 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8636, allocations: 0 / 0.8371 GB, free: 8.371 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.001868/0.8655, allocations: 0.9469 MB / 0.838 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8656, allocations: 12.03 kB / 0.838 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.8657, allocations: 72.09 kB / 0.8381 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.8663, allocations: 471 kB / 0.8385 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.8664, allocations: 49.62 kB / 0.8386 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.8665, allocations: 64.12 kB / 0.8387 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.8676, allocations: 0.5952 MB / 0.8392 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.8676, allocations: 4 kB / 0.8392 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.8676, allocations: 32 kB / 0.8393 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.8677, allocations: 12 kB / 0.8393 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.8685, allocations: 455.2 kB / 0.8397 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.8713, allocations: 1.69 MB / 0.8414 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.8744, allocations: 0.8429 MB / 0.8422 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.8749, allocations: 287.2 kB / 0.8425 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.8753, allocations: 429.4 kB / 0.8429 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.8754, allocations: 50.56 kB / 0.8429 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 5.199e-06/0.8754, allocations: 0 / 0.8429 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001527/0.8769, allocations: 0.7211 MB / 0.8436 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.877, allocations: 136.5 kB / 0.8438 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.8774, allocations: 337.7 kB / 0.8441 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.8775, allocations: 41.7 kB / 0.8441 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.8776, allocations: 240.8 kB / 0.8443 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8778, allocations: 236.5 kB / 0.8446 GB, free: 328 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.878, allocations: 118.2 kB / 0.8447 GB, free: 204 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8781, allocations: 354.8 kB / 0.845 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.8785, allocations: 165.2 kB / 0.8452 GB, free: 15.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.8789, allocations: 233.8 kB / 0.8454 GB, free: 15.44 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.8797, allocations: 435.3 kB / 0.8458 GB, free: 15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8797, allocations: 0 / 0.8458 GB, free: 15 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001013/0.8808, allocations: 0.5355 MB / 0.8463 GB, free: 14.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8808, allocations: 8 kB / 0.8463 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8808, allocations: 7.969 kB / 0.8464 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.8808, allocations: 8 kB / 0.8464 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.8819, allocations: 131.8 kB / 0.8465 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8819, allocations: 4 kB / 0.8465 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.8823, allocations: 39.53 kB / 0.8465 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.8824, allocations: 27.97 kB / 0.8466 GB, free: 14.24 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.0002697/0.8826, allocations: 193.7 kB / 0.8467 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.8828, allocations: 51.44 kB / 0.8468 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.8846, allocations: 0.9335 MB / 0.8477 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.8847, allocations: 15.98 kB / 0.8477 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8847, allocations: 4 kB / 0.8477 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8847, allocations: 3.984 kB / 0.8477 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.8857, allocations: 0.7112 MB / 0.8484 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8857, allocations: 0 / 0.8484 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.8865, allocations: 187.8 kB / 0.8486 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.8866, allocations: 15.94 kB / 0.8486 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.8866, allocations: 19.98 kB / 0.8486 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.8866, allocations: 11.94 kB / 0.8486 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8866, allocations: 0 / 0.8486 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.8881, allocations: 1.065 MB / 0.8497 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.8883, allocations: 216 kB / 0.8499 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.8884, allocations: 20 kB / 0.8499 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.8889, allocations: 23.94 kB / 0.8499 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.889, allocations: 71.83 kB / 0.85 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.8891, allocations: 31.98 kB / 0.85 GB, free: 10.58 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002403/0.8893, allocations: 235.2 kB / 0.8503 GB, free: 10.35 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8893, allocations: 0 / 0.8503 GB, free: 10.35 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006105/0.8899, allocations: 163.6 kB / 0.8504 GB, free: 10.19 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.0002163/0.8901, allocations: 135 kB / 0.8505 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8913, allocations: 0.5897 MB / 0.8511 GB, free: 9.465 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8914, allocations: 0 / 0.8511 GB, free: 9.465 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.8919, allocations: 384.9 kB / 0.8515 GB, free: 9.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.8925, allocations: 61.44 kB / 0.8515 GB, free: 9.027 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.8947, allocations: 1.512 MB / 0.853 GB, free: 7.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8952, allocations: 0.9141 MB / 0.8539 GB, free: 6.535 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000462/0.8956, allocations: 112.7 kB / 0.854 GB, free: 6.426 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.8959, allocations: 83.39 kB / 0.8541 GB, free: 6.344 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.8959, allocations: 4 kB / 0.8541 GB, free: 6.34 MB / 0.67 GB Notification: Performance of Templates: time 0.01054/0.9064, allocations: 5.192 MB / 0.8592 GB, free: 1.164 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)