Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.701/1.701, allocations: 287.4 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 182.2 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 0.6304 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007497/0.0007498, allocations: 96.91 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 10.75 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2057, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.002857/0.2086, allocations: 3.021 MB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003002/0.2116, allocations: 2.314 MB / 0.9845 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.212, allocations: 11.94 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.2122, allocations: 47.5 kB / 0.9845 GB, free: 22.8 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.001123/0.2133, allocations: 320.9 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.2137, allocations: 231.7 kB / 0.9851 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.2144, allocations: 0.7692 MB / 0.9858 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.2149, allocations: 353.7 kB / 0.9861 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04903/0.264, allocations: 39.2 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.2646, allocations: 258.6 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2648, allocations: 20 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.265, allocations: 35.98 kB / 1.025 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2651, allocations: 91.52 kB / 1.025 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.2654, allocations: 137.3 kB / 1.025 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.2661, allocations: 0.6039 MB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2661, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2662, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.2662, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.6511 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.001721/0.2679, allocations: 0.8085 MB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.268, allocations: 8.031 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2681, allocations: 76 kB / 1.026 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.2689, allocations: 475 kB / 1.027 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.269, allocations: 45.62 kB / 1.027 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.2691, allocations: 68.12 kB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.2702, allocations: 0.5952 MB / 1.028 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2702, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.2703, allocations: 23.94 kB / 1.028 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2703, allocations: 16 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2713, allocations: 451.2 kB / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.2741, allocations: 1.701 MB / 1.03 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.2772, allocations: 0.8411 MB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.2777, allocations: 281.4 kB / 1.031 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.2782, allocations: 437.4 kB / 1.031 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.2782, allocations: 38.56 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.398e-06/0.2783, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001536/0.2798, allocations: 0.7257 MB / 1.032 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.2799, allocations: 136.5 kB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.2802, allocations: 329.7 kB / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.2803, allocations: 37.7 kB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2805, allocations: 240.9 kB / 1.033 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2806, allocations: 236.5 kB / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.2807, allocations: 8 kB / 1.033 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2808, allocations: 358.8 kB / 1.033 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.2811, allocations: 165.2 kB / 1.033 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.2815, allocations: 221.8 kB / 1.034 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/0.2823, allocations: 430.4 kB / 1.034 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2823, allocations: 4 kB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001002/0.2834, allocations: 0.5361 MB / 1.035 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2834, allocations: 4 kB / 1.035 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2834, allocations: 0 / 1.035 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2834, allocations: 4 kB / 1.035 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.284, allocations: 135.8 kB / 1.035 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2841, allocations: 4 kB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2844, allocations: 47.44 kB / 1.035 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.2845, allocations: 35.97 kB / 1.035 GB, free: 2.914 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.2847, allocations: 185.7 kB / 1.035 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.2849, allocations: 55.38 kB / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.2867, allocations: 0.9181 MB / 1.036 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.2868, allocations: 11.97 kB / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2868, allocations: 4 kB / 1.036 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.287, allocations: 215.9 kB / 1.036 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.2871, allocations: 24 kB / 1.036 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.2875, allocations: 16 kB / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.2876, allocations: 67.84 kB / 1.036 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001491/0.2891, allocations: 1.081 MB / 1.037 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001359/0.2905, allocations: 1.132 MB / 1.038 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000498/0.291, allocations: 331.8 kB / 1.039 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002014/0.2912, allocations: 239.1 kB / 1.039 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of Backend: time 5.51e-07/0.2912, allocations: 4 kB / 1.039 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.2924, allocations: 400.8 kB / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of SimCode: time 0.001659/0.2941, allocations: 1.582 MB / 1.041 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of Templates: time 0.01084/0.3049, allocations: 5.604 MB / 1.046 GB, free: 7.008 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)