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.0007732/0.0007732, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009684/0.0009685, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.635/1.635, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005725/0.0005728, allocations: 20.09 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2415, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003431/0.2449, allocations: 3.009 MB / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.2485, allocations: 2.31 MB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.2488, allocations: 19.94 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.093e-05/0.2489, allocations: 43.5 kB / 0.7925 GB, free: 6.543 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.001018/0.2499, allocations: 329.5 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2504, allocations: 227.6 kB / 0.7931 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.2511, allocations: 0.7731 MB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2515, allocations: 264.7 kB / 0.7941 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05331/0.3048, allocations: 39.2 MB / 0.8324 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.3055, allocations: 262.6 kB / 0.8326 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.3056, allocations: 16 kB / 0.8326 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.3059, allocations: 35.97 kB / 0.8327 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.306, allocations: 95.53 kB / 0.8327 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3062, allocations: 133.3 kB / 0.8329 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.3069, allocations: 0.6039 MB / 0.8335 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3069, allocations: 0 / 0.8335 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3069, allocations: 0 / 0.8335 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3069, allocations: 0 / 0.8335 GB, free: 12.57 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.001593/0.3085, allocations: 0.8144 MB / 0.8343 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3086, allocations: 8.031 kB / 0.8343 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3087, allocations: 79.06 kB / 0.8343 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.3093, allocations: 461.9 kB / 0.8348 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.3094, allocations: 45.31 kB / 0.8348 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.3095, allocations: 60 kB / 0.8349 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3105, allocations: 0.599 MB / 0.8355 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.3106, allocations: 0 / 0.8355 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.3106, allocations: 24 kB / 0.8355 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3107, allocations: 16 kB / 0.8355 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.3116, allocations: 447.2 kB / 0.8359 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.3142, allocations: 1.701 MB / 0.8376 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.3168, allocations: 0.839 MB / 0.8384 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.3173, allocations: 283.2 kB / 0.8387 GB, free: 7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.3177, allocations: 433.5 kB / 0.8391 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3178, allocations: 46.5 kB / 0.8391 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 1.853e-06/0.3178, allocations: 0 / 0.8391 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001442/0.3192, allocations: 0.7092 MB / 0.8398 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.3193, allocations: 144.5 kB / 0.84 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.3197, allocations: 325.7 kB / 0.8403 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.3197, allocations: 41.7 kB / 0.8403 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3199, allocations: 240.9 kB / 0.8405 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.32, allocations: 240.4 kB / 0.8408 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3201, allocations: 8 kB / 0.8408 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3202, allocations: 354.8 kB / 0.8411 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.3206, allocations: 165.2 kB / 0.8413 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3209, allocations: 221.9 kB / 0.8415 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.3213, allocations: 197.8 kB / 0.8417 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3214, allocations: 3.953 kB / 0.8417 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009625/0.3223, allocations: 0.5271 MB / 0.8422 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3224, allocations: 12 kB / 0.8422 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3224, allocations: 0 / 0.8422 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3224, allocations: 4 kB / 0.8422 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.323, allocations: 139.7 kB / 0.8424 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.323, allocations: 4 kB / 0.8424 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.3232, allocations: 43.44 kB / 0.8424 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.3233, allocations: 31.97 kB / 0.8424 GB, free: 2.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.3235, allocations: 185.7 kB / 0.8426 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3237, allocations: 59.33 kB / 0.8427 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.3254, allocations: 0.9294 MB / 0.8436 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3255, allocations: 15.94 kB / 0.8436 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3255, allocations: 0 / 0.8436 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.3255, allocations: 7.969 kB / 0.8436 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.3265, allocations: 0.7075 MB / 0.8443 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3265, allocations: 4 kB / 0.8443 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.3272, allocations: 195.7 kB / 0.8445 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.3272, allocations: 4 kB / 0.8445 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.3273, allocations: 23.98 kB / 0.8445 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-05/0.3273, allocations: 7.938 kB / 0.8445 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3273, allocations: 3.984 kB / 0.8445 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3287, allocations: 1.062 MB / 0.8455 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3289, allocations: 215.9 kB / 0.8458 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.329, allocations: 31.89 kB / 0.8458 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.3294, allocations: 16 kB / 0.8458 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.3295, allocations: 67.84 kB / 0.8459 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.3295, allocations: 35.98 kB / 0.8459 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002534/0.3298, allocations: 239.2 kB / 0.8461 GB, free: 15.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3298, allocations: 0 / 0.8461 GB, free: 15.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005728/0.3304, allocations: 147.7 kB / 0.8463 GB, free: 14.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.3306, allocations: 135 kB / 0.8464 GB, free: 14.81 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.3316, allocations: 0.5403 MB / 0.8469 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3317, allocations: 0 / 0.8469 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.3323, allocations: 384.9 kB / 0.8473 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.3328, allocations: 56 kB / 0.8473 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.335, allocations: 1.48 MB / 0.8488 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.3355, allocations: 0.9144 MB / 0.8497 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004271/0.336, allocations: 112.7 kB / 0.8498 GB, free: 11.28 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.3363, allocations: 83.38 kB / 0.8499 GB, free: 11.2 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.3363, allocations: 0 / 0.8499 GB, free: 11.2 MB / 0.67 GB Notification: Performance of Templates: time 0.009847/0.3461, allocations: 4.75 MB / 0.8545 GB, free: 6.477 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: