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.0009473/0.0009474, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007754/0.007754, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.517/1.517, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0005054/0.0005054, allocations: 15.47 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.00436/0.249, allocations: 3.174 MB / 0.791 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.2535, allocations: 2.403 MB / 0.7933 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006738/0.2542, allocations: 15.94 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.2545, allocations: 43.5 kB / 0.7934 GB, free: 5.938 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.001572/0.256, allocations: 330 kB / 0.7937 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.2567, allocations: 287.7 kB / 0.794 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.2579, allocations: 0.8199 MB / 0.7948 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.2584, allocations: 345.7 kB / 0.7951 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6523/0.9107, allocations: 42.21 MB / 0.8363 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.9113, allocations: 278.4 kB / 0.8366 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.9115, allocations: 20 kB / 0.8366 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.9117, allocations: 31.98 kB / 0.8366 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.9118, allocations: 95.52 kB / 0.8367 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.9123, allocations: 307.9 kB / 0.837 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.9134, allocations: 0.7511 MB / 0.8377 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9134, allocations: 3.938 kB / 0.8377 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9134, allocations: 0 / 0.8377 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.496e-05/0.9135, allocations: 0 / 0.8377 GB, free: 10.58 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.001894/0.9154, allocations: 0.8133 MB / 0.8385 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9154, allocations: 8.031 kB / 0.8385 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.9156, allocations: 80 kB / 0.8386 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.9165, allocations: 471 kB / 0.8391 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.9165, allocations: 45.69 kB / 0.8391 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.9166, allocations: 72.11 kB / 0.8392 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.9178, allocations: 0.599 MB / 0.8398 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.9179, allocations: 0 / 0.8398 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.9179, allocations: 28 kB / 0.8398 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.918, allocations: 12 kB / 0.8398 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.9189, allocations: 451.2 kB / 0.8402 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.9217, allocations: 1.694 MB / 0.8419 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.9249, allocations: 0.8389 MB / 0.8427 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.9255, allocations: 291.2 kB / 0.843 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.9259, allocations: 429.5 kB / 0.8434 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.926, allocations: 46.5 kB / 0.8434 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.464e-06/0.926, allocations: 4 kB / 0.8434 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001562/0.9276, allocations: 0.7213 MB / 0.8442 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.9276, allocations: 140.5 kB / 0.8443 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.9281, allocations: 333.7 kB / 0.8446 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.9281, allocations: 41.7 kB / 0.8446 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.9283, allocations: 236.9 kB / 0.8449 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.9286, allocations: 236.5 kB / 0.8451 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.9287, allocations: 49.69 kB / 0.8451 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9288, allocations: 354.8 kB / 0.8455 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.9292, allocations: 165.2 kB / 0.8456 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.9296, allocations: 225.9 kB / 0.8459 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.9305, allocations: 443.1 kB / 0.8463 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9305, allocations: 0 / 0.8463 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001012/0.9315, allocations: 0.5358 MB / 0.8468 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.9315, allocations: 8 kB / 0.8468 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9315, allocations: 0 / 0.8468 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.9316, allocations: 4 kB / 0.8468 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.9322, allocations: 139.8 kB / 0.8469 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.9322, allocations: 4 kB / 0.8469 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.9326, allocations: 43.44 kB / 0.847 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.9326, allocations: 31.97 kB / 0.847 GB, free: 0.6445 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.0002686/0.9329, allocations: 198.2 kB / 0.8472 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.933, allocations: 47.44 kB / 0.8473 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.9349, allocations: 0.9258 MB / 0.8482 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.935, allocations: 16 kB / 0.8482 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.935, allocations: 4 kB / 0.8482 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.935, allocations: 7.969 kB / 0.8482 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9361, allocations: 0.7113 MB / 0.8489 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.9361, allocations: 0 / 0.8489 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/0.9368, allocations: 183.8 kB / 0.8491 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.9369, allocations: 4 kB / 0.8491 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.9369, allocations: 27.98 kB / 0.8491 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.9369, allocations: 8 kB / 0.8491 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9369, allocations: 3.938 kB / 0.8491 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.9383, allocations: 1.069 MB / 0.8501 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.9386, allocations: 220 kB / 0.8504 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.9387, allocations: 16 kB / 0.8504 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.9391, allocations: 24 kB / 0.8504 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.9392, allocations: 71.84 kB / 0.8505 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.9393, allocations: 27.98 kB / 0.8505 GB, free: 13 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000234/0.9395, allocations: 247 kB / 0.8507 GB, free: 12.76 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9395, allocations: 0 / 0.8507 GB, free: 12.76 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000653/0.9402, allocations: 151.6 kB / 0.8509 GB, free: 12.61 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.0002792/0.9405, allocations: 143 kB / 0.851 GB, free: 12.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.9417, allocations: 0.5415 MB / 0.8515 GB, free: 11.92 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9417, allocations: 0 / 0.8515 GB, free: 11.92 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/0.9424, allocations: 380.9 kB / 0.8519 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.943, allocations: 63.94 kB / 0.852 GB, free: 11.49 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.9454, allocations: 1.51 MB / 0.8534 GB, free: 9.941 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.9459, allocations: 0.9182 MB / 0.8543 GB, free: 8.992 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004529/0.9463, allocations: 108.8 kB / 0.8544 GB, free: 8.887 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.9465, allocations: 87.38 kB / 0.8545 GB, free: 8.801 MB / 0.67 GB Notification: Performance of SimCode: time 3.6e-07/0.9465, allocations: 0 / 0.8545 GB, free: 8.801 MB / 0.67 GB Notification: Performance of Templates: time 0.0106/0.9571, allocations: 4.888 MB / 0.8593 GB, free: 3.922 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: